summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-03-07 16:58:35 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-07 09:45:21 -0800
commit3499e87ea0413ee5b2cc028f4c8ed4d424bc7f98 (patch)
tree3040c3fdf1a56ea2c9bdd571d4b437688ffa8cd0 /net/sched
parentb89869da2db916914f6a2c7ab14183c8aef23d97 (diff)
downloadlinux-3499e87ea0413ee5b2cc028f4c8ed4d424bc7f98.tar.bz2
ethtool: reduce stack usage with clang
clang inlines the dev_ethtool() more aggressively than gcc does, leading to a larger amount of used stack space: net/core/ethtool.c:2536:24: error: stack frame size of 1216 bytes in function 'dev_ethtool' [-Werror,-Wframe-larger-than=] Marking the sub-functions that require the most stack space as noinline_for_stack gives us reasonable behavior on all compilers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions