linux/drivers/block
Gustavo A. R. Silva 1060bfc8e2 drbd: 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
..
aoe bdi: fix up for "remove the name field in struct backing_dev_info" 2020-05-11 09:08:26 -06:00
drbd drbd: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
mtip32xx
paride treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
rnbd RDMA/rnbd: Fix compilation error when CONFIG_MODULES is disabled 2020-05-22 15:50:22 -03:00
rsxx rsxx: use bio_{start,end}_io_acct 2020-05-27 05:21:23 -06:00
xen-blkback
zram zcomp: Use ARRAY_SIZE() for backends list 2020-06-04 19:06:24 -07:00
amiflop.c
ataflop.c
brd.c
cryptoloop.c
floppy.c block/floppy: fix contended case in floppy_queue_rq() 2020-05-26 15:23:54 -06:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
loop.c block-5.8-2020-06-11 2020-06-11 16:07:33 -07:00
loop.h
Makefile block/rnbd: include client and server modules into kernel compilation 2020-05-17 18:57:17 -03:00
nbd.c
null_blk_main.c for-5.8/block-2020-06-01 2020-06-02 15:29:19 -07:00
null_blk_trace.c
null_blk_trace.h
null_blk_zoned.c for-5.8/block-2020-06-01 2020-06-02 15:29:19 -07:00
null_blk.h
pktcdvd.c pktcdvd: remove redundant initialization of variable ret 2020-06-11 09:15:48 -06:00
ps3disk.c ps3disk: use the default segment boundary 2020-05-19 00:10:35 +10:00
ps3vram.c
rbd_types.h libceph, rbd: replace zero-length array with flexible-array 2020-06-01 13:22:53 +02:00
rbd.c rbd: compression_hint option 2020-06-01 23:32:35 +02:00
skd_main.c
skd_s1120.h
sunvdc.c
swim3.c
swim_asm.S
swim.c block/swim3: use set_current_state macro 2020-05-16 14:28:37 -06:00
sx8.c
umem.c umem: remove redundant initialization of variable ret 2020-06-11 09:16:17 -06:00
umem.h
virtio_blk.c
xen-blkfront.c
xsysace.c
z2ram.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00