[PATCH] drm/xe: Fix modpost warning on xe_mocs kunit module
Rodrigo Vivi
rodrigo.vivi at intel.com
Tue Feb 13 15:27:22 UTC 2024
On Mon, Feb 12, 2024 at 07:35:48PM -0800, Ashutosh Dixit wrote:
> $ make W=1 -j100 M=drivers/gpu/drm/xe
> MODPOST drivers/gpu/drm/xe/Module.symvers
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_mocs_test.o
>
> Fix is identical to '1d425066f15f ("drm/xe: Fix modpost warning on kunit
> modules")'.
I don't see this widely used in the kernel, but since this style
is already in Xe, and this is fixing the warning, let's move fwd.
Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
>
> Fixes: a6a4ea6d7d37 ("drm/xe: Add mocs kunit")
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
> ---
> drivers/gpu/drm/xe/tests/xe_mocs_test.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/xe/tests/xe_mocs_test.c b/drivers/gpu/drm/xe/tests/xe_mocs_test.c
> index 4f62e7a4270bd..ee40f31e1e12c 100644
> --- a/drivers/gpu/drm/xe/tests/xe_mocs_test.c
> +++ b/drivers/gpu/drm/xe/tests/xe_mocs_test.c
> @@ -22,4 +22,5 @@ kunit_test_suite(xe_mocs_test_suite);
>
> MODULE_AUTHOR("Intel Corporation");
> MODULE_LICENSE("GPL");
> +MODULE_DESCRIPTION("xe_mocs kunit test");
> MODULE_IMPORT_NS(EXPORTED_FOR_KUNIT_TESTING);
> --
> 2.41.0
>
More information about the Intel-xe
mailing list