2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-11 07:04:04 +08:00
linux-next/drivers/misc/mei
Tomas Winkler 4029238364 mei: revamp mei extension header structure layout.
The mei extension header was build as array of flexible structures
which will not work if actually more headers are added.
(Currently only vtag header was used).
Sparse reports:

drivers/misc/mei/hw.h:253:32: warning: array of flexible structures

Use basic type u8 for the variable sized extension.
Define explicitly mei_ext_hdr_vtag structure.
And also fix mei_ext_next() function to point correctly to the
end of the header.

Note: the headers are part of firmware interface and need to be __packed.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20210621193756.134027-2-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-22 12:40:31 +02:00
..
hdcp mei: hdcp: SPDX tag should be the first line 2021-06-15 17:12:58 +02:00
bus-fixup.c mei: fix kdoc in the driver 2021-06-22 12:40:31 +02:00
bus.c mei: bus: block send with vtag on non-conformat FW 2021-02-09 09:30:28 +01:00
client.c mei: revamp mei extension header structure layout. 2021-06-22 12:40:31 +02:00
client.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
debugfs.c mei: add support for client dma capability 2021-02-06 15:48:11 +01:00
dma-ring.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hbm.c mei: fix kdoc in the driver 2021-06-22 12:40:31 +02:00
hbm.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
hw-me-regs.h mei: me: add Alder Lake P device id. 2021-04-14 21:05:59 +02:00
hw-me.c mei: fix kdoc in the driver 2021-06-22 12:40:31 +02:00
hw-me.h mei: add device kind to sysfs 2020-07-29 16:21:13 +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: hw: use sizeof of variable instead of struct type 2020-07-23 19:33:09 +02:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw.h mei: revamp mei extension header structure layout. 2021-06-22 12:40:31 +02:00
init.c mei: allow clients on bus to communicate in remove callback 2021-02-06 15:48:11 +01:00
interrupt.c mei: revamp mei extension header structure layout. 2021-06-22 12:40:31 +02:00
Kconfig Revert "mei: virtio: virtualization frontend driver" 2020-12-06 10:36:17 +01:00
main.c mei: fix kdoc in the driver 2021-06-22 12:40:31 +02:00
Makefile Revert "mei: virtio: virtualization frontend driver" 2020-12-06 10:36:17 +01:00
mei_dev.h mei: implement client dma setup. 2021-02-06 15:48:11 +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 Alder Lake P device id. 2021-04-14 21:05:59 +02:00
pci-txe.c mei: fix kdoc in the driver 2021-06-22 12:40:31 +02:00