Linux USB
 help / color / mirror / Atom feed
* [PATCH] usb: usbip: stub_rx: remove outdated comment
@ 2026-10-05 12:58 Oliver Neukum
  2026-10-06 16:23 ` sashiko-bot
  2026-10-08 10:03 ` Shuah Khan
  0 siblings, 2 replies; 3+ messages in thread
From: Oliver Neukum @ 2026-10-05 12:58 UTC (permalink / raw)
  To: valentina.manea.m, shuah, i, gregkh, linux-usb; +Cc: Oliver Neukum

After removal of the BUG() statement the error exit can be reached
and logs a report. Remove a comment saying otherwise.

Fixes: 635f545a7e8be ("usbip: fix stub_rx: get_pipe() to validate endpoint number")
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 drivers/usb/usbip/stub_rx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/usbip/stub_rx.c b/drivers/usb/usbip/stub_rx.c
index 1e9ae578810d..0ccc05b76c5a 100644
--- a/drivers/usb/usbip/stub_rx.c
+++ b/drivers/usb/usbip/stub_rx.c
@@ -391,7 +391,6 @@ static int get_pipe(struct stub_device *sdev, struct usbip_header *pdu)
 	}
 
 err_ret:
-	/* NOT REACHED */
 	dev_err(&sdev->udev->dev, "CMD_SUBMIT: invalid epnum %d\n", epnum);
 	return -1;
 }
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-08 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05 12:58 [PATCH] usb: usbip: stub_rx: remove outdated comment Oliver Neukum
2026-10-06 16:23 ` sashiko-bot
2026-10-08 10:03 ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox