Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

USB: uas: give the error handler the correct name

A UAS device can in principle contain multiple busses.
A reset on the USB level will reset them all. We
cannot reset a single bus.
In practical terms this does not matter, as only
one method of reset is implemented, but we should
not lie.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://patch.msgid.link/20260312123435.2015029-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Oliver Neukum and committed by
Greg Kroah-Hartman
916aeaff 03cd4fd6

+2 -2
+2 -2
drivers/usb/storage/uas.c
··· 772 772 return FAILED; 773 773 } 774 774 775 - static int uas_eh_device_reset_handler(struct scsi_cmnd *cmnd) 775 + static int uas_eh_host_reset_handler(struct scsi_cmnd *cmnd) 776 776 { 777 777 struct scsi_device *sdev = cmnd->device; 778 778 struct uas_dev_info *devinfo = sdev->hostdata; ··· 918 918 .sdev_init = uas_sdev_init, 919 919 .sdev_configure = uas_sdev_configure, 920 920 .eh_abort_handler = uas_eh_abort_handler, 921 - .eh_device_reset_handler = uas_eh_device_reset_handler, 921 + .eh_host_reset_handler = uas_eh_host_reset_handler, 922 922 .this_id = -1, 923 923 .skip_settle_delay = 1, 924 924 /*