Re: [PATCH 06/20] crypto: keembay: ocs-hcu: Fix incorrectly named functions/structs
From: Alessandrelli, Daniele
Date: Thu Feb 04 2021 - 12:55:42 EST
On Thu, 2021-02-04 at 11:09 +0000, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/crypto/keembay/ocs-hcu.c:107: warning: expecting prototype for struct ocs_hcu_dma_list. Prototype was for struct ocs_hcu_dma_entry instead
> drivers/crypto/keembay/ocs-hcu.c:127: warning: expecting prototype for struct ocs_dma_list. Prototype was for struct ocs_hcu_dma_list instead
> drivers/crypto/keembay/ocs-hcu.c:610: warning: expecting prototype for ocs_hcu_digest(). Prototype was for ocs_hcu_hash_update() instead
> drivers/crypto/keembay/ocs-hcu.c:648: warning: expecting prototype for ocs_hcu_hash_final(). Prototype was for ocs_hcu_hash_finup() instead
>
> Cc: Daniele Alessandrelli <daniele.alessandrelli@xxxxxxxxx>
> Cc: Declan Murphy <declan.murphy@xxxxxxxxx>
> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: linux-crypto@xxxxxxxxxxxxxxx
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
Acked-by: Daniele Alessandrelli <daniele.alessandrelli@xxxxxxxxx>
Thanks for fixing these.
For some reason, if the issues are there, I don't get those warnings
when compiling with W=1; the command I run is:
make CROSS_COMPILE=<arm-compiler> ARCH=arm64 -j5 W=4 M=drivers/crypto/keembay
Which command are you running exactly? I'll use it for my next
submissions.