kernel_optimize_test/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-ml.h
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
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