diff options
| author | Arnd Bergmann <[email protected]> | 2019-07-22 12:26:34 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-07-23 13:35:18 +0000 |
| commit | 77ce56e2bfaa64127ae5e23ef136c0168b818777 (patch) | |
| tree | 17fd2aac43ad8d43c77bb1ee5b8b5473de3abdad /tools/perf/scripts/python/stackcollapse.py | |
| parent | block: blk-mq: Remove blk_mq_sched_started_request and started_request (diff) | |
| download | kernel-77ce56e2bfaa64127ae5e23ef136c0168b818777.tar.gz kernel-77ce56e2bfaa64127ae5e23ef136c0168b818777.zip | |
drbd: dynamically allocate shash descriptor
Building with clang and KASAN, we get a warning about an overly large
stack frame on 32-bit architectures:
drivers/block/drbd/drbd_receiver.c:921:31: error: stack frame size of 1280 bytes in function 'conn_connect'
[-Werror,-Wframe-larger-than=]
We already allocate other data dynamically in this function, so
just do the same for the shash descriptor, which makes up most of
this memory.
Link: https://lore.kernel.org/lkml/[email protected]/
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Roland Kammerer <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
