Re: [PATCH] can: bcm: fix support for CAN FD frames

2016-11-23 Thread Marc Kleine-Budde
On 11/23/2016 02:33 PM, Oliver Hartkopp wrote: > Since commit 6f3b911d5f29b98 ("can: bcm: add support for CAN FD frames") the > CAN broadcast manager supports CAN and CAN FD data frames. > > As these data frames are embedded in struct can[fd]_frames which have a > different length the access to th

[PATCH] can: bcm: fix support for CAN FD frames

2016-11-23 Thread Marc Kleine-Budde
From: Oliver Hartkopp Since commit 6f3b911d5f29b98 ("can: bcm: add support for CAN FD frames") the CAN broadcast manager supports CAN and CAN FD data frames. As these data frames are embedded in struct can[fd]_frames which have a different length the access to the provided array of CAN frames be

Re: [PATCH] can: bcm: fix support for CAN FD frames

2016-11-23 Thread Andrey Konovalov
On Wed, Nov 23, 2016 at 2:33 PM, Oliver Hartkopp wrote: > Since commit 6f3b911d5f29b98 ("can: bcm: add support for CAN FD frames") the > CAN broadcast manager supports CAN and CAN FD data frames. > > As these data frames are embedded in struct can[fd]_frames which have a > different length the acc

[PATCH] can: bcm: fix support for CAN FD frames

2016-11-23 Thread Oliver Hartkopp
Since commit 6f3b911d5f29b98 ("can: bcm: add support for CAN FD frames") the CAN broadcast manager supports CAN and CAN FD data frames. As these data frames are embedded in struct can[fd]_frames which have a different length the access to the provided array of CAN frames became dependend of op->cf