linux-stable/drivers/net/can
Gustavo A. R. Silva 6fc5d84e6d can: etas_es58x: Replace zero-length array with DECLARE_FLEX_ARRAY() helper
Zero-length arrays are deprecated and we are moving towards adopting
C99 flexible-array members, instead. So, replace zero-length array
declaration in union es58x_urb_cmd with the new DECLARE_FLEX_ARRAY()
helper macro.

This helper allows for a flexible-array member in a union.

Link: https://github.com/KSPP/linux/issues/193
Link: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/all/Yw00w6XRcq7B6ub6@work
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-09-06 08:28:26 +02:00
..
c_can can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
cc770 can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
ctucanfd can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
dev can: rx-offload: can_rx_offload_init_queue(): fix typo 2022-09-05 21:54:49 +02:00
flexcan can: flexcan: fix typo: FLEXCAN_QUIRK_SUPPPORT_* -> FLEXCAN_QUIRK_SUPPORT_* 2022-09-05 22:00:42 +02:00
ifi_canfd can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
m_can can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
mscan powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
peak_canfd can: peak_canfd: advertise timestamping capabilities and add ioctl support 2022-07-28 11:44:31 +02:00
rcar can: rcar_canfd: Use dev_err_probe() to simplify code and better handle -EPROBE_DEFER 2022-09-05 22:00:42 +02:00
sja1000 can: sja1000: remove redundant variable ret 2022-09-05 22:00:43 +02:00
slcan can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
softing can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
spi can: mcp251x: Fix race condition on receive interrupt 2022-08-09 21:40:22 +02:00
usb can: etas_es58x: Replace zero-length array with DECLARE_FLEX_ARRAY() helper 2022-09-06 08:28:26 +02:00
at91_can.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
can327.c can: can327: fix a broken link to Documentation 2022-07-31 20:53:50 +02:00
grcan.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
janz-ican3.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
Kconfig can: slcan: use CAN network device driver API 2022-07-03 11:34:28 +02:00
kvaser_pciefd.c can: kvaser_pciefd: remove redundant variable ret 2022-09-05 22:00:43 +02:00
Makefile can: slcan: move driver into separate sub directory 2022-07-03 11:34:44 +02:00
pch_can.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
sun4i_can.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
ti_hecc.c SPDX changes for 6.0-rc1 2022-08-04 12:12:54 -07:00
vcan.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
vxcan.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
xilinx_can.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00