aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Ray Hung <tw.rayhung@gmail.com> 2022-08-04 19:08:36 +0800
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2022-08-18 21:19:20 +0200
commitad57410d231da1fff3f53ff42ebcdc6d388e21d1 (patch)
treeccb66557af112f4b7809e8f83270ecbf6e7132d8 /drivers
parentusb: typec: ucsi: stm32g0: Fix spelling mistake "booloader" -> "bootloader" (diff)
downloadlinux-ad57410d231da1fff3f53ff42ebcdc6d388e21d1.tar.gz
linux-ad57410d231da1fff3f53ff42ebcdc6d388e21d1.tar.bz2
linux-ad57410d231da1fff3f53ff42ebcdc6d388e21d1.zip
usb: gadget: rndis: use %u instead of %d to print u32 values
The driver uses the %d format to print u32 values. The correct format is %u. Fix it. Signed-off-by: Ray Hung <tw.rayhung@gmail.com> Link: https://lore.kernel.org/r/20220804110836.138614-1-tw.rayhung@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/function/rndis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/rndis.c b/drivers/usb/gadget/function/rndis.c
index 713efd9aefde..10ba339bcea4 100644
--- a/drivers/usb/gadget/function/rndis.c
+++ b/drivers/usb/gadget/function/rndis.c
@@ -1105,7 +1105,7 @@ static int rndis_proc_show(struct seq_file *m, void *v)
"used : %s\n"
"state : %s\n"
"medium : 0x%08X\n"
- "speed : %d\n"
+ "speed : %u\n"
"cable : %s\n"
"vendor ID : 0x%08X\n"
"vendor : %s\n",