Re: [PATCH] smb: client: add missing MODULE_DESCRIPTION() to smb1maperror_test
From: Saket Kumar Bhaskar
Date: Fri Apr 10 2026 - 02:20:58 EST
On Fri, Apr 10, 2026 at 11:32:11AM +0530, Venkat Rao Bagalkote wrote:
> On the latest linux-next following modpost warning is reported:
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in
> fs/smb/client/smb1maperror_test.o
>
> Add MODULE_DESCRIPTION() to the test module to fix the warning.
>
> Signed-off-by: Venkat Rao Bagalkote <venkat88@xxxxxxxxxxxxx>
> ---
> fs/smb/client/smb1maperror_test.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/smb/client/smb1maperror_test.c b/fs/smb/client/smb1maperror_test.c
> index 820c0dd3bcce..0a816aea4fd6 100644
> --- a/fs/smb/client/smb1maperror_test.c
> +++ b/fs/smb/client/smb1maperror_test.c
> @@ -74,3 +74,4 @@ static struct kunit_suite maperror_suite = {
> kunit_test_suite(maperror_suite);
>
> MODULE_LICENSE("GPL");
> +MODULE_DESCRIPTION("MB1 error mapping selftest module");
Typo: MB1 -> SMB1
Thanks,
Saket
> --
> 2.45.2
>