summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-xenon.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-05-05 18:38:19 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-07 03:47:32 +0300
commitae1804de93f6f1626906567ae7deec8e0111259d (patch)
tree6a61525fa65d9d394928da96767d650a5fb58fe5 /drivers/mmc/host/sdhci-xenon.c
parent9e330bf469e02e64d46cb150a2ec65310b9412ea (diff)
downloadlinux-ae1804de93f6f1626906567ae7deec8e0111259d.tar.xz
dsa: sja1105: dynamically allocate stats structure
The addition of sja1105_port_status_ether structure into the statistics causes the frame size to go over the warning limit: drivers/net/dsa/sja1105/sja1105_ethtool.c:421:6: error: stack frame size of 1104 bytes in function 'sja1105_get_ethtool_stats' [-Werror,-Wframe-larger-than=] Use dynamic allocation to avoid this. Fixes: 336aa67bd027 ("net: dsa: sja1105: show more ethtool statistics counters for P/Q/R/S") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mmc/host/sdhci-xenon.c')
0 files changed, 0 insertions, 0 deletions