linux-xiaomi-chiron/drivers/staging/wfx
Gustavo A. R. Silva 3e1f8882a9 staging: wfx: Use flex_array_size() helper in memcpy()
Make use of the flex_array_size() helper to calculate the size of a
flexible array member within an enclosing structure.

This helper offers defense-in-depth against potential integer
overflows, while at the same time makes it explicitly clear that
we are dealing with a flexible array member.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200729233557.GA17693@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-30 08:41:06 +02:00
..
Documentation/devicetree/bindings/net/wireless
bh.c staging: wfx: improve protection against malformed HIF messages 2020-07-03 10:33:07 +02:00
bh.h
bus.h
bus_sdio.c staging: wfx: apply 80-columns rule to strings 2020-05-15 15:50:39 +02:00
bus_spi.c staging: wfx: Get descriptors for GPIOs 2020-07-10 13:51:22 +02:00
data_rx.c staging: wfx: fix CCMP/TKIP replay protection 2020-07-03 10:33:07 +02:00
data_rx.h
data_tx.c staging: wfx: fix CCMP/TKIP replay protection 2020-07-03 10:33:07 +02:00
data_tx.h staging: wfx: drop counter of buffered frames 2020-07-03 10:33:07 +02:00
debug.c staging: wfx: add a debugfs entry to force ps_timeout 2020-07-03 10:33:08 +02:00
debug.h
fwio.c staging: wfx: Remove unnecessary return variable 2020-07-28 10:17:30 +02:00
fwio.h
hif_api_cmd.h
hif_api_general.h staging: wfx: add support for tx_power_loop 2020-05-27 10:18:08 +02:00
hif_api_mib.h
hif_rx.c staging: wfx: always enable FastPs in combo with new firmwares 2020-07-03 10:33:08 +02:00
hif_rx.h
hif_tx.c staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
hif_tx.h staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
hif_tx_mib.c staging: wfx: Use flex_array_size() helper in memcpy() 2020-07-30 08:41:06 +02:00
hif_tx_mib.h
hwio.c
hwio.h
Kconfig
key.c
key.h
main.c staging: wfx: Get descriptors for GPIOs 2020-07-10 13:51:22 +02:00
main.h staging: wfx: Get descriptors for GPIOs 2020-07-10 13:51:22 +02:00
Makefile
queue.c staging: wfx: add tracepoint "queues_stats" 2020-07-03 10:33:07 +02:00
queue.h staging: wfx: correctly retrieve vif ID from Tx confirmation 2020-07-03 10:33:07 +02:00
scan.c staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
scan.h
secure_link.h
sta.c staging: wfx: always enable FastPs in combo with new firmwares 2020-07-03 10:33:08 +02:00
sta.h staging: wfx: add a debugfs entry to force ps_timeout 2020-07-03 10:33:08 +02:00
TODO
traces.h staging: wfx: add tracepoint "queues_stats" 2020-07-03 10:33:07 +02:00
wfx.h staging: wfx: always enable FastPs in combo with new firmwares 2020-07-03 10:33:08 +02:00