diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-15 00:28:33 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-02-15 12:16:00 +0300 |
commit | 7272416609126e8910b7f0d0e3dba008aa87830c (patch) | |
tree | 17e12a25eb4c4442a95b375ff7c004f3d50aa621 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 91b632803ee4e47c5a5c4dc3d8bf5abf9c16107a (diff) | |
download | linux-7272416609126e8910b7f0d0e3dba008aa87830c.tar.xz |
rt2500usb: don't mark register accesses as inline
When CONFIG_KASAN is set, we get a rather large stack here:
drivers/net/wireless/ralink/rt2x00/rt2500usb.c: In function 'rt2500usb_set_device_state':
drivers/net/wireless/ralink/rt2x00/rt2500usb.c:1074:1: error: the frame size of 3032 bytes is larger than 100 bytes [-Werror=frame-larger-than=]
If we don't force those functions to be inline, the compiler can figure this
out better itself and not inline the functions when doing so would be harmful,
reducing the stack size to a merge 256 bytes.
Note that there is another problem that manifests in this driver, as a result
of the typecheck() macro causing even larger stack frames.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions