Re: [PATCH] crypto: wp512: disable kmsan checks in wp512_process_buffer()

From: Herbert Xu
Date: Fri Dec 30 2022 - 10:14:44 EST


On Thu, Dec 15, 2022 at 05:29:38PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The memory sanitizer causes excessive register spills in this function:
>
> crypto/wp512.c:782:13: error: stack frame size (2104) exceeds limit (2048) in 'wp512_process_buffer' [-Werror,-Wframe-larger-than]
>
> Assume that this one is safe, and mark it as needing no checks to
> get the stack usage back down to the normal level.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> crypto/wp512.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt