[PATCH] smb: client: add missing MODULE_DESCRIPTION() to smb1maperror_test

Venkat Rao Bagalkote posted 1 patch 2 months, 1 week ago
There is a newer version of this series
fs/smb/client/smb1maperror_test.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] smb: client: add missing MODULE_DESCRIPTION() to smb1maperror_test
Posted by Venkat Rao Bagalkote 2 months, 1 week ago
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@linux.ibm.com>
---
 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");
-- 
2.45.2
Re: [PATCH] smb: client: add missing MODULE_DESCRIPTION() to smb1maperror_test
Posted by Saket Kumar Bhaskar 2 months, 1 week ago
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@linux.ibm.com>
> ---
>  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
>