Skip to contentSkip to conversation

Fix unassigned variables in xhci driver

PATCH New Selvarasu Ganesan 1 participant 1 message Feb 13, 2025 1 message not in the archive USB

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20250213042208epcas5p2f9dd1305a647d26d6ee55d15dd1967dc@epcas5p2.samsung.com

#1 lore raw

v2 cover Fix unassigned variables in xhci driver

This series of patches to fix the following smatch errors from xhci driver:

drivers/usb/host/xhci-mem.c:2060 xhci_add_in_port() error: unassigned variable 'tmp_minor_revision' drivers/usb/host/xhci-hub.c:71 xhci_create_usb3x_bos_desc() error: unassigned variable 'bcdUSB'

Change in v2:
- Fix bot error from Greg
- https://lore.kernel.org/linux-usb/2025021234-reaction-womankind-1c0b@gregkh/

Selvarasu Ganesan (2):
usb: xhci: Fix unassigned variable 'tmp_minor_revision' in

    xhci_add_in_port()

usb: xhci: Fix unassigned variable 'bcdUSB' in
xhci_create_usb3x_bos_desc()

 drivers/usb/host/xhci-hub.c | 2 +-
 drivers/usb/host/xhci-mem.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1