Re: [PATCH] crypto: lib - add missing MODULE_DESCRIPTION() macros

From: Herbert Xu
Date: Fri Jun 21 2024 - 08:37:19 EST


On Sat, Jun 15, 2024 at 11:14:57PM -0700, Jeff Johnson wrote:
> With ARCH=arm, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libsha256.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro to all
> files which have a MODULE_LICENSE().
>
> This includes sha1.c and utils.c which, although they did not produce
> a warning with the arm allmodconfig configuration, may cause this
> warning with other configurations.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
> ---
> lib/crypto/sha1.c | 1 +
> lib/crypto/sha256.c | 1 +
> lib/crypto/utils.c | 1 +
> 3 files changed, 3 insertions(+)

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