linux/drivers/firewire
Gustavo A. R. Silva c38e7e212a firewire: ohci: 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
..
core-card.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
core-cdev.c firewire: ohci: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
core-device.c firewire: mark expected switch fall-throughs 2019-07-25 20:09:37 -05:00
core-iso.c firewire: core: code cleanup after vm_map_pages_zero introduction 2019-11-13 20:59:57 +01:00
core-topology.c firewire: mark expected switch fall-throughs 2019-07-25 20:09:37 -05:00
core-transaction.c firewire: ohci: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
core.h firewire: ohci: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
init_ohci1394_dma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
net.c net: add annotations on hh->hh_len lockless accesses 2019-11-07 20:07:30 -08:00
nosy-user.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nosy.c firewire: ohci: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
nosy.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ohci.c firewire: ohci: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
ohci.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sbp2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00