]> git.baikalelectronics.ru Git - 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)
commit89c2f6e2c16c1db2223a7fd07031cf6adc97bf78
tree939fba38103cf239c53e93b185a838b11d33f9ca
parent97aa668ebd58407e824099318a749231e28ecd93
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