]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
can: peak_usb: fix product-id endianness in error message
authorJohan Hovold <johan@kernel.org>
Fri, 12 May 2017 10:09:25 +0000 (12:09 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 9 Jun 2017 09:39:23 +0000 (11:39 +0200)
commitdadcd398b3f059a0aa9de1cac8030a1d5a3791a5
tree939fba38103cf239c53e93b185a838b11d33f9ca
parentf2a918b40cea994f9524ace67fd05ef42a8d9e5b
can: peak_usb: fix product-id endianness in error message

Make sure to use the USB device product-id stored in host-byte order in
a probe error message.

Also remove a redundant reassignment of the local usb_dev variable which
had already been used to retrieve the product id.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_core.c