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(-) -- 2.33.0