mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-03-04 18:51:03 +00:00
USB: adutux: fix big-endian device-type reporting
Make sure the reported device-type on big-endian machines is the same as on little-endian ones. Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c786138fcc
commit
d482b9d558
@ -830,7 +830,7 @@ static int adu_probe(struct usb_interface *interface,
|
||||
|
||||
/* let the user know what node this device is now attached to */
|
||||
dev_info(&interface->dev, "ADU%d %s now attached to /dev/usb/adutux%d\n",
|
||||
udev->descriptor.idProduct, dev->serial_number,
|
||||
le16_to_cpu(udev->descriptor.idProduct), dev->serial_number,
|
||||
(dev->minor - ADU_MINOR_BASE));
|
||||
exit:
|
||||
dbg(2, " %s : leave, return value %p (dev)", __func__, dev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user