linux/drivers/misc/mei
Gustavo A. R. Silva 3c3b7ddef7 mei: Avoid the use of one-element arrays
One-element arrays are being deprecated[1]. Replace the one-element
arrays with a simple value type u8 reserved, once this is just a
placeholder for alignment.

Also, while there, use the preferred form for passing a size of a struct.
The alternative form where struct name is spelled out hurts readability
and introduces an opportunity for a bug when the variable type is changed
but the corresponding sizeof that is passed as argument is not.

[1] https://github.com/KSPP/linux/issues/79

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200714214516.GA1040@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-23 09:27:10 +02:00
..
hdcp mei: hdcp: Replace one-element array with flexible-array member 2020-07-23 09:27:09 +02:00
bus-fixup.c mei: bus: replace zero-length array with flexible-array member 2020-02-11 14:03:19 -08:00
bus.c mei: bus: don't clean driver pointer 2020-06-29 19:10:51 +02:00
client.c mei: release me_cl object reference 2020-05-15 16:32:19 +02:00
client.h mei: bus: add more client attributes to sysfs 2019-11-16 12:58:54 +01:00
debugfs.c Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
dma-ring.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hbm.c mei: Avoid the use of one-element arrays 2020-07-23 09:27:10 +02:00
hbm.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-me-regs.h mei: me: add MEI device for KBP with ITPS capability 2020-06-29 18:40:26 +02:00
hw-me.c mei: me: add kdoc for mei_me_fw_type_nm() 2020-06-29 18:40:26 +02:00
hw-me.h mei: me: constify the device parameter to the probe quirk 2020-06-29 18:40:26 +02:00
hw-txe-regs.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-txe.c mei: abstract fw status register read. 2019-11-07 09:35:49 +01:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw.h mei: Avoid the use of one-element arrays 2020-07-23 09:27:10 +02:00
init.c mei: abstract fw status register read. 2019-11-07 09:35:49 +01:00
interrupt.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
Kconfig mei: Replace HTTP links with HTTPS ones 2020-07-23 09:27:09 +02:00
main.c compat_ioctl: remove most of fs/compat_ioctl.c 2019-12-01 13:46:15 -08:00
Makefile mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei_dev.h misc: Replace zero-length array with flexible-array member 2020-03-18 12:24:19 +01:00
mei-trace.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei-trace.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
pci-me.c mei: me: add MEI device for KBP with ITPS capability 2020-06-29 18:40:26 +02:00
pci-txe.c PM: sleep: core: Rename DPM_FLAG_NEVER_SKIP 2020-04-24 21:33:09 +02:00