Re: [PATCH 1/4] mm/hwpoison: add MODULE_DESCRIPTION()

From: Miaohe Lin
Date: Mon May 13 2024 - 23:14:21 EST


On 2024/5/14 3:37, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in mm/hwpoison-inject.o
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
> ---
> mm/hwpoison-inject.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c
> index d0548e382b6b..7e45440aa19c 100644
> --- a/mm/hwpoison-inject.c
> +++ b/mm/hwpoison-inject.c
> @@ -109,4 +109,5 @@ static int __init pfn_inject_init(void)
>
> module_init(pfn_inject_init);
> module_exit(pfn_inject_exit);
> +MODULE_DESCRIPTION("HWPoison pages injector");
> MODULE_LICENSE("GPL");
>

Acked-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Thanks.
.