diff options
| author | Johan Hovold <[email protected]> | 2017-05-11 11:36:02 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-05-17 11:27:41 +0200 |
| commit | dd5ca753fa92fb736b1395db892bd29f78e6d408 (patch) | |
| tree | 38c687d8b5732db3d811ddc33cc3d2201581f529 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c | |
| parent | 63afd5cc78775018ea2dec4004428dafa5283e93 (diff) | |
USB: iowarrior: fix info ioctl on big-endian hosts
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.")
Cc: stable <[email protected]> # 2.6.21
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions