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

From: Herbert Xu
Date: Thu May 23 2019 - 01:41:56 EST


On Wed, May 22, 2019 at 10:07:14AM +0000, 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_final(struct shash_desc *desc, u8 *out)
> ^~~~~~~~~~~~~~~~
>
> Signed-off-by: Philippe Mazenauer <philippe.mazenauer@xxxxxxxxxx>

An identical patch is already in the patchwork queue.

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