usb: hub: usb_ext_cap_descriptor.bmAttributes is le32
authorBjørn Mork <bjorn@mork.no>
Thu, 27 Feb 2014 13:23:55 +0000 (14:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 00:20:17 +0000 (16:20 -0800)
commit23c058201fe36adf1a225281739b3ec31ec4e858
treed9cc53994fa9688c4501926afbc653942ebb8d9a
parent938569eb75b329fee9f2634900ad7e12caf13fd2
usb: hub: usb_ext_cap_descriptor.bmAttributes is le32

Better check the correct bit on big endian systems too. Shuts
up the following sparse __CHECK_ENDIAN__ warning:

  .../hub.c:3965:32: warning: restricted __le32 degrades to integer

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c