commit | ee0f3a89842ea7adab3f42d08d98f77f13fa0357 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu May 11 11:36:02 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 25 15:44:40 2017 +0200 |
tree | e0ec304ef712531efb7c6353134c76e25f51473d | |
parent | dbb127332abf38e6df266b9cabee7d73ef6ea6da [diff] |
USB: iowarrior: fix info ioctl on big-endian hosts commit dd5ca753fa92fb736b1395db892bd29f78e6d408 upstream. Drop erroneous le16_to_cpu when returning the USB device speed which is already in host byte order. Found using sparse: warning: cast to restricted __le16 Fixes: 946b960d13c1 ("USB: add driver for iowarrior devices.") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>