kernel_optimize_test/drivers/net/can
Luu An Phu 13454c1455 can: flex_can: Correct the checking for frame length in flexcan_start_xmit()
The flexcan_start_xmit() function compares the frame length with data
register length to write frame content into data[0] and data[1]
register. Data register length is 4 bytes and frame maximum length is 8
bytes.

Fix the check that compares frame length with 3. Because the register
length is 4.

Signed-off-by: Luu An Phu <phu.luuan@nxp.com>
Reviewed-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-01-04 16:14:38 +01:00
..
c_can can: c_can: don't indicate triple sampling support for D_CAN 2017-11-10 09:15:28 +01:00
cc770
ifi_canfd can: ifi: Fix transmitter delay calculation 2017-11-10 11:35:09 +01:00
m_can
mscan
peak_canfd can: peak/pcie_fd: fix potential bug in restarting tx queue 2017-12-08 10:51:53 +01:00
rcar
sja1000 can: peak/pci: fix potential bug when probe() fails 2017-12-01 11:20:52 +01:00
softing License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spi
usb can: gs_usb: fix return value of the "set_bittiming" callback 2018-01-04 16:14:38 +01:00
at91_can.c
bfin_can.c
dev.c
flexcan.c can: flex_can: Correct the checking for frame length in flexcan_start_xmit() 2018-01-04 16:14:38 +01:00
grcan.c drivers/net: can: Convert timers to use timer_setup() 2017-10-27 12:09:15 +09:00
janz-ican3.c
Kconfig
led.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pch_can.c
rx-offload.c
slcan.c
sun4i_can.c can: sun4i: handle overrun in RX FIFO 2017-11-10 09:15:28 +01:00
ti_hecc.c can: ti_hecc: Fix napi poll return value for repoll 2017-12-01 11:20:52 +01:00
vcan.c
vxcan.c can: vxcan: improve handling of missing peer name attribute 2018-01-04 16:14:38 +01:00
xilinx_can.c