drivers/usb/usbip/vudc_rx.c:145: possible bad bitmask ?
From: David Binderman
Date: Mon Jul 18 2016 - 08:29:12 EST
Hello there,
drivers/usb/usbip/vudc_rx.c:145:27: warning: result of â11 << 30â
requires 35 bits to represent, but âintâ only has 32 bits
[-Wshift-overflow=]
Source code is
urb_p->urb->pipe &= ~(11 << 30);
Maybe better code
urb_p->urb->pipe &= ~(11UL << 30);
Regards
David Binderman