android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Shantanu Goel dfeee99390 usb: uas: set host status byte on data completion error
[ Upstream commit 9d32685a251a754f1823d287df233716aa23bcb9 ]

Set the host status byte when a data completion error is encountered
otherwise the upper layer may end up using the invalid zero'ed data.
The following output was observed from scsi/sd.c prior to this fix.

[   11.872824] sd 0:0:0:1: [sdf] tag#9 data cmplt err -75 uas-tag 1 inflight:
[   11.872826] sd 0:0:0:1: [sdf] tag#9 CDB: Read capacity(16) 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
[   11.872830] sd 0:0:0:1: [sdf] Sector size 0 reported, assuming 512.

Signed-off-by: Shantanu Goel <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-09-12 11:03:52 +02:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-07-05 09:08:30 +02:00
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-03-01 13:13:36 +01:00
chipidea usb: chipidea: wait controller resume finished for wakeup irq 2024-01-25 14:34:29 -08:00
class cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller 2024-09-04 13:15:04 +02:00
common
core usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes() 2024-09-04 13:15:05 +02:00
dwc2 usb: dwc2: host: Fix dereference issue in DDMA completion flow. 2024-05-02 16:18:32 +02:00
dwc3 usb: dwc3: st: add missing depopulate in probe error path 2024-09-04 13:15:04 +02:00
early
gadget usb: gadget: fsl: Increase size of name buffer for endpoints 2024-09-04 13:14:56 +02:00
host xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration 2024-09-04 13:14:49 +02:00
image
isp1760
misc usb: misc: uss720: check for incompatible versions of the Belkin F5U002 2024-07-05 09:08:21 +02:00
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-01-25 14:34:30 -08:00
mtu3
musb usb: musb: da8xx: fix a resource leak in probe() 2024-07-05 09:08:30 +02:00
phy usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host() 2024-01-25 14:34:29 -08:00
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-03-01 13:13:36 +01:00
serial USB: serial: option: add MeiG Smart SRM825L 2024-09-04 13:15:04 +02:00
storage usb: uas: set host status byte on data completion error 2024-09-12 11:03:52 +02:00
typec usb: typec: ucsi: Fix null pointer dereference in trace 2024-09-12 11:03:50 +02:00
usbip usbip: Don't submit special requests twice 2024-09-12 11:03:50 +02:00
Kconfig
Makefile
usb-skeleton.c