Messages in this thread | | | Subject | Re: [PATCH] [v2] drbd: dynamically allocate shash descriptor | From | Jens Axboe <> | Date | Tue, 23 Jul 2019 07:35:41 -0600 |
| |
On 7/22/19 6:26 AM, Arnd Bergmann wrote: > 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.
Applied, thanks.
-- Jens Axboe
| |