Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 136d27ef authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Amit Pundir
Browse files

usb: gadget: u_ether: fix debug format string

We get a harmless warning on 64-bit architectures about a format string:

drivers/usb/gadget/function/u_ether.c: In function 'rx_submit':
include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=]

This changes the code to use the correct %zd for size_t.

Link: https://kernelci.org/build/id/5910609459b514c7cbb12d50/logs/


Fixes: c5ecbca4 ("usb: Add support for rndis uplink aggregation")
Cc: Xerox Lin <xerox_lin@htc.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent ebaf9418
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment