Re: [PATCH] crypto: arm/sha512 - make function static

2019-05-22 Thread Herbert Xu
On Wed, May 22, 2019 at 10:07:14AM +, Philippe Mazenauer wrote: > Function sha512_arm_final() is only used in this file, therefore should > be static > > ../arch/arm/crypto/sha512-glue.c:40:5: warning: no previous prototype for > ‘sha512_arm_final’ [-Wmissing-prototypes] > int sha512_arm_fin

[PATCH] crypto: arm/sha512 - make function static

2019-05-22 Thread Philippe Mazenauer
Function sha512_arm_final() is only used in this file, therefore should be static ../arch/arm/crypto/sha512-glue.c:40:5: warning: no previous prototype for ‘sha512_arm_final’ [-Wmissing-prototypes] int sha512_arm_final(struct shash_desc *desc, u8 *out) ^~~~ Signed-off-by: Phili