[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2675f963-6d67-7802-4f8a-eab423688419@kernel.dk>
Date: Tue, 23 Jul 2019 07:35:41 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Arnd Bergmann <arnd@...db.de>,
Philipp Reisner <philipp.reisner@...bit.com>,
Lars Ellenberg <lars.ellenberg@...bit.com>
Cc: Roland Kammerer <roland.kammerer@...bit.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Eric Biggers <ebiggers@...gle.com>,
Kees Cook <keescook@...omium.org>, drbd-dev@...ts.linbit.com,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] [v2] drbd: dynamically allocate shash descriptor
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
Powered by blists - more mailing lists