summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-05-11 11:36:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-25 14:30:13 +0200
commit319be2ab4731527307e914fd70906423444d84e5 (patch)
tree44570fe59fed54671351b5b5005408427256ceab /tools/perf/scripts/python/sctop.py
parent1beae7405705688bb9b93e0440fc2b1fabe34428 (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>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions