From: Johan Hovold Date: Thu, 11 May 2017 09:36:02 +0000 (+0200) Subject: USB: iowarrior: fix info ioctl on big-endian hosts X-Git-Tag: v3.2.93~93 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9528221430ebdd899aacd08a2e1d91cc8edb24a;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed