Thread (4 messages) 4 messages, 4 authors, 2020-08-25

Re: [PATCH] crypto: arm/curve25519 - include <linux/scatterlist.h>

From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: 2020-08-24 19:42:24

On Mon, Aug 24, 2020 at 4:13 PM Fabio Estevam [off-list ref] wrote:
Building ARM allmodconfig leads to the following warnings:

arch/arm/crypto/curve25519-glue.c:73:12: error: implicit declaration of function 'sg_copy_to_buffer' [-Werror=implicit-function-declaration]
arch/arm/crypto/curve25519-glue.c:74:9: error: implicit declaration of function 'sg_nents_for_len' [-Werror=implicit-function-declaration]
arch/arm/crypto/curve25519-glue.c:88:11: error: implicit declaration of function 'sg_copy_from_buffer' [-Werror=implicit-function-declaration]

Include <linux/scatterlist.h> to fix such warnings
This patch seems correct to me -- sg_copy_to_buffer, sg_nents_for_len.
I wonder what header dependency chain caused us to miss this before.
Either way,

Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help