]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7603: dynamically alloc mcu req in mt7603_mcu_set_eeprom
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 30 Apr 2019 15:17:23 +0000 (17:17 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 May 2019 11:04:00 +0000 (13:04 +0200)
commita75cc3baffc48391f0081e9b35f5e26fe6bd6857
treea4111825241554212aa2cf48913af68fa7460e73
parent9d4c7757073a70b60660a5cd0e2377b97a942f3c
mt76: mt7603: dynamically alloc mcu req in mt7603_mcu_set_eeprom

Do not allocate mcu requests on the stack in mt7603_mcu_set_eeprom
in order to avoid the following warning:

Warning: the frame size of 1032 bytes is larger than 1024 bytes
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/mcu.c