Message ID | 20240513-mm-md-v1-3-8c20e7d26842@quicinc.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | mm: add missing MODULE_DESCRIPTION() macros | expand |
On Mon, 13 May 2024 at 21:38, Jeff Johnson <quic_jjohnson@quicinc.com> wrote: > > Fix the 'make W=1' warning: > > WARNING: modpost: missing MODULE_DESCRIPTION() in mm/kfence/kfence_test.o > > Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> > --- > mm/kfence/kfence_test.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/mm/kfence/kfence_test.c b/mm/kfence/kfence_test.c > index 95b2b84c296d..00fd17285285 100644 > --- a/mm/kfence/kfence_test.c > +++ b/mm/kfence/kfence_test.c > @@ -852,3 +852,4 @@ kunit_test_suites(&kfence_test_suite); > > MODULE_LICENSE("GPL v2"); > MODULE_AUTHOR("Alexander Potapenko <glider@google.com>, Marco Elver <elver@google.com>"); > +MODULE_DESCRIPTION("kfence unit test suite"); Reviewed-by: Marco Elver <elver@google.com> I guess this warning has been there since the beginning, we just never compiled this module with W=1. Thanks, -- Marco
diff --git a/mm/kfence/kfence_test.c b/mm/kfence/kfence_test.c index 95b2b84c296d..00fd17285285 100644 --- a/mm/kfence/kfence_test.c +++ b/mm/kfence/kfence_test.c @@ -852,3 +852,4 @@ kunit_test_suites(&kfence_test_suite); MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Alexander Potapenko <glider@google.com>, Marco Elver <elver@google.com>"); +MODULE_DESCRIPTION("kfence unit test suite");
Fix the 'make W=1' warning: WARNING: modpost: missing MODULE_DESCRIPTION() in mm/kfence/kfence_test.o Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> --- mm/kfence/kfence_test.c | 1 + 1 file changed, 1 insertion(+)