linux-stable/include/linux/can
Gustavo A. R. Silva d6562f1ca8 can: Replace zero-length array with flexible-array
There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure. Kernel code should
always use “flexible array members”[1] for these cases. The older style of
one-element or zero-length arrays should no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://github.com/KSPP/linux/issues/21

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2020-06-15 23:08:31 -05:00
..
dev can: dev: peak_canfd.h: Replace zero-length array with flexible-array member 2020-04-18 15:44:54 -05:00
platform can: mcp251x: get rid of legacy platform data 2019-11-11 21:57:28 +01:00
can-ml.h can: add support of SAE J1939 protocol 2019-09-04 14:22:33 +02:00
core.h can: af_can: export can_sock_destruct() 2019-11-13 10:42:33 +01:00
dev.h can: can_dropped_invalid_skb(): ensure an initialized headroom in outgoing CAN sk_buffs 2020-01-02 15:34:27 +01:00
led.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
rx-offload.h can: rx-offload: Prepare for CAN FD support 2019-11-11 21:58:10 +01:00
skb.h can: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00