Re: [PATCH] selftests/fpu: add missing MODULE_DESCRIPTION() macro

From: Samuel Holland
Date: Wed Jun 26 2024 - 09:22:41 EST


On 2024-06-22 9:55 AM, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 now reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_fpu.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Fixes: 9613736d852d ("selftests/fpu: move FP code to a separate translation unit")
> Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
> ---
> lib/test_fpu_glue.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/test_fpu_glue.c b/lib/test_fpu_glue.c
> index eef282a2715f..074f30301f29 100644
> --- a/lib/test_fpu_glue.c
> +++ b/lib/test_fpu_glue.c
> @@ -59,4 +59,5 @@ static void __exit test_fpu_exit(void)
> module_init(test_fpu_init);
> module_exit(test_fpu_exit);
>
> +MODULE_DESCRIPTION("Test cases for floating point operations");
> MODULE_LICENSE("GPL");
>
> ---
> base-commit: 6ba59ff4227927d3a8530fc2973b80e94b54d58f
> change-id: 20240622-md-i386-lib-test_fpu_glue-437927d4afe3
>

Reviewed-by: Samuel Holland <samuel.holland@xxxxxxxxxx>