Re: [PATCH] bsr: add missing MODULE_DESCRIPTION() macro
From: Jeff Johnson
Date: Fri Jun 28 2024 - 23:23:13 EST
On 6/15/2024 2:14 PM, Jeff Johnson wrote:
> With ARCH=powerpc, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/bsr.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
> ---
> drivers/char/bsr.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c
> index 70d31aed9011..837109ef6766 100644
> --- a/drivers/char/bsr.c
> +++ b/drivers/char/bsr.c
> @@ -342,5 +342,6 @@ static void __exit bsr_exit(void)
>
> module_init(bsr_init);
> module_exit(bsr_exit);
> +MODULE_DESCRIPTION("IBM POWER Barrier Synchronization Register Driver");
> MODULE_LICENSE("GPL");
> MODULE_AUTHOR("Sonny Rao <sonnyrao@xxxxxxxxxx>");
>
> ---
> base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
> change-id: 20240615-md-powerpc-drivers-char-913942e3d586
Following up to see if anything else is needed from me. Hoping to see this in
linux-next so I can remove it from my tracking spreadsheet :)
/jeff