diff options
| author | Paulo Alcantara <[email protected]> | 2023-08-17 15:34:10 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-08-20 21:05:50 +0000 |
| commit | 69a4e06c0e7bceeba95104180110841d232e94e4 (patch) | |
| tree | 5d2cb8dd17271b36303b707d52a45aebc6320eb0 /tools/perf/scripts/python/task-analyzer.py | |
| parent | smb: cilent: set reparse mount points as automounts (diff) | |
| download | kernel-69a4e06c0e7bceeba95104180110841d232e94e4.tar.gz kernel-69a4e06c0e7bceeba95104180110841d232e94e4.zip | |
smb: client: reduce stack usage in cifs_try_adding_channels()
Clang warns about exceeded stack frame size
fs/smb/client/sess.c:160:5: warning: stack frame size (1368) exceeds
limit (1024) in 'cifs_try_adding_channels' [-Wframe-larger-than]
It turns out that cifs_ses_add_channel() got inlined into
cifs_try_adding_channels() which had a stack-allocated variable @ctx
of 624 bytes in size. Fix this by making it heap-allocated.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
