2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/media
Gustavo A. R. Silva 5342e9bb03 media: pwc: 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:32 -05:00
..
cec Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
common media updates for v5.8-rc1 2020-06-13 13:09:38 -07:00
dvb-core media: dvbdev: Fix tuner->demod media controller link 2020-05-25 09:09:05 +02:00
dvb-frontends media: dvb-frontends: remove redundant initialization of variable status 2020-05-12 17:33:31 +02:00
firewire media: Kconfig: mode firewire comment to firewire/Kconfig 2020-04-14 10:29:04 +02:00
i2c media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
mc media: entity: Pass entity to get_fwnode_pad operation 2020-05-18 11:12:05 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
platform media updates for v5.8-rc1 2020-06-13 13:09:38 -07:00
radio media: radio: don't use a menu just for wl128x driver 2020-04-16 10:34:57 +02:00
rc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vimc: Make use of V4L2_CAP_IO_MC 2020-05-06 12:10:12 +02:00
tuners media: si2157: ensure wait_status is initialized 2020-04-29 11:59:57 +02:00
usb media: pwc: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
v4l2-core media updates for v5.8-rc1 2020-06-13 13:09:38 -07:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00