mbox series

[0/5] usb: isp1760: clang analyzer fixes

Message ID 20210819180929.1327349-1-rui.silva@linaro.org (mailing list archive)
Headers show
Series usb: isp1760: clang analyzer fixes | expand

Message

Rui Miguel Silva Aug. 19, 2021, 6:09 p.m. UTC
This are fixes for new and pre existing warnings noted by clang
analyzer in this driver which complains about some unused read values,
shift left using negative uninitialized slot numbers and zero
maxpacketsize.

Cheers,
  Rui

Rui Miguel Silva (5):
  usb: isp1760: ignore return value for bus change pattern
  usb: isp1760: check maxpacketsize before using it
  usb: isp1760: do not reset retval
  usb: isp1760: do not shift in uninitialized slot
  usb: isp1760: clean never read udc_enabled warning

 drivers/usb/isp1760/isp1760-core.c |  4 ++--
 drivers/usb/isp1760/isp1760-hcd.c  | 31 ++++++++++++++++++------------
 2 files changed, 21 insertions(+), 14 deletions(-)