linux/drivers/net/wireless/mediatek/mt76/mt76x0
Kees Cook 17ad18fd12 mt76x0: Remove VLA usage
Even with "const" variables, the compiler will generate warnings about
VLA usage. In the quest to remove all VLAs from the kernel[1], this uses
a #define instead of a const to do the array sizing.

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com

Fixes: e87b503951 ("mt76x0: eeprom files")
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-08-09 18:08:53 +03:00
..
core.c
debugfs.c mt76x0: trace and debugfs files 2018-08-02 21:50:56 +03:00
dma.c mt76x0: rename trace symbols 2018-08-04 09:06:15 +03:00
dma.h mt76x0: dma and tx files 2018-08-02 21:50:58 +03:00
eeprom.c mt76x0: Remove VLA usage 2018-08-09 18:08:53 +03:00
eeprom.h mt76x0: eeprom files 2018-08-02 21:50:54 +03:00
init.c mt76x0: disable HW before probe 2018-08-02 21:51:04 +03:00
initvals_phy.h mt76x0: phy files 2018-08-02 21:50:50 +03:00
initvals.h mt76x0: init files 2018-08-02 21:50:51 +03:00
mac.c mt76x0: perform mt76x0_mac_set_ampdu_factor 2018-08-09 18:08:06 +03:00
mac.h mt76x0: rename mt76_* functions 2018-08-04 09:05:50 +03:00
main.c mt76x0: rename mt76_* functions 2018-08-04 09:05:50 +03:00
Makefile mt76: Kconfig and Makefile for mt76x0 driver 2018-08-02 21:51:03 +03:00
mcu.c mt76x0: rename trace symbols 2018-08-04 09:06:15 +03:00
mcu.h mt76x0: mcu files 2018-08-02 21:50:49 +03:00
mt76x0.h mt76x0: rename trace symbols 2018-08-04 09:06:15 +03:00
phy.c mt76x0: rename trace symbols 2018-08-04 09:06:15 +03:00
phy.h mt76x0: phy files 2018-08-02 21:50:50 +03:00
regs.h
trace.c mt76x0: trace and debugfs files 2018-08-02 21:50:56 +03:00
trace.h mt76x0: rename trace symbols 2018-08-04 09:06:15 +03:00
tx.c mt76x0: rename trace symbols 2018-08-04 09:06:15 +03:00
usb.c mt76x0: rename trace symbols 2018-08-04 09:06:15 +03:00
usb.h mt76x0: load firmware from mediatek subdir 2018-08-02 21:51:06 +03:00
util.c mt76x0: rename mt76_* functions 2018-08-04 09:05:50 +03:00