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)
commit4d2a6f7b4e17ede86be46013d114d58adaca5631
treea4111825241554212aa2cf48913af68fa7460e73
parentae66068f7872872740906cf7699624bfd90516ae
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