summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip/stub_tx.c
diff options
context:
space:
mode:
authorXiong Nandi <xndchn@gmail.com>2024-12-31 19:15:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-17 14:38:01 +0300
commit81702d41457a8aec49bfd0942f98697d529656f0 (patch)
tree16de82334390978040ee748c2b46f41f98bb9a43 /drivers/usb/usbip/stub_tx.c
parent15b93f340fa6bcb0b47f574e1cd3b5ce02fec403 (diff)
downloadlinux-81702d41457a8aec49bfd0942f98697d529656f0.tar.xz
usbip: Correct format specifier for seqnum from %d to %u
The seqnum field in USBIP protocol is an unsigned value. So we fix the format specifier from %d to %u to correctly display the value. Signed-off-by: Xiong Nandi <xndchn@gmail.com> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20241231161539.20192-3-xndchn@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/stub_tx.c')
-rw-r--r--drivers/usb/usbip/stub_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
index b1c2f6781cb3..7eb2e074012a 100644
--- a/drivers/usb/usbip/stub_tx.c
+++ b/drivers/usb/usbip/stub_tx.c
@@ -201,7 +201,7 @@ static int stub_send_ret_submit(struct stub_device *sdev)
/* 1. setup usbip_header */
setup_ret_submit_pdu(&pdu_header, urb);
- usbip_dbg_stub_tx("setup txdata seqnum: %d\n",
+ usbip_dbg_stub_tx("setup txdata seqnum: %u\n",
pdu_header.base.seqnum);
if (priv->sgl) {