Re: [RFC 01/21] xhci: fix incorrect type in assignment in xhci_count_num_new_endpoints()

2013-11-14 Thread Sarah Sharp
Applied to for-usb-next-queue for 3.14. Sarah Sharp On Mon, Sep 09, 2013 at 09:03:06PM +0300, Xenia Ragiadakou wrote: The fields 'add_flags' and 'drop_flags' in struct xhci_input_control_ctx have type __le32 and need to be converted to CPU byteorder before being used to derive the number of

[RFC 01/21] xhci: fix incorrect type in assignment in xhci_count_num_new_endpoints()

2013-09-09 Thread Xenia Ragiadakou
The fields 'add_flags' and 'drop_flags' in struct xhci_input_control_ctx have type __le32 and need to be converted to CPU byteorder before being used to derive the number of added endpoints. This bug was found using sparse. Signed-off-by: Xenia Ragiadakou burzalod...@gmail.com ---