linux-stable/drivers/net/can/usb
Oliver Hartkopp ffd461f80d can: fix assignment of error location in CAN error messages
As Dan Carpenter reported in http://marc.info/?l=linux-can&m=144793696016187
the assignment of the error location in CAN error messages had some bit wise
overlaps. Indeed the value to be assigned in data[3] is no bitfield but defines
a single value which points to a location inside the CAN frame on the wire.

This patch fixes the assignments for the error locations in error messages.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-11-23 09:37:34 +01:00
..
peak_usb can: pcan_usb: don't provide CAN FD bittimings by non-FD adapters 2015-08-25 08:50:00 +02:00
ems_usb.c can: ems_usb: don't touch skb after netif_rx() 2015-07-15 09:04:28 +02:00
esd_usb2.c can: esd_usb2: don't touch skb after netif_rx() 2015-07-15 09:04:28 +02:00
gs_usb.c can: gs_usb: Fix typo in function name 2015-08-20 10:52:42 +02:00
Kconfig can: peak_usb: add support for PEAK new CANFD USB adapters 2015-01-28 14:47:06 +01:00
kvaser_usb.c can: fix assignment of error location in CAN error messages 2015-11-23 09:37:34 +01:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
usb_8dev.c can: fix assignment of error location in CAN error messages 2015-11-23 09:37:34 +01:00