mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
With commit7d34b05605("brcmfmac: Move all module parameters to one place") a bug was introduced causing a null pointer exception. This patch fixes the bug by initializing the sg table till after the settings have been initialized. Fixes:7d34b05605("brcmfmac: Move all module parameters to one place") Reported-by: Marc Zyngier <[email protected]> Tested-by: Marc Zyngier <[email protected]> Reviewed-by: Arend Van Spriel <[email protected]> Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Signed-off-by: Hante Meuleman <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]>