diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-11-20 23:19:04 +0100 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 17:44:51 +0100 |
commit | 1d425066f15faa6965fa6361da4c52e4020fd8d0 (patch) | |
tree | e96099830b41f712dca7294153f6928b904046d0 /drivers/gpu/drm/xe/tests/xe_migrate_test.c | |
parent | drm/xe: ATS-M device ID update (diff) | |
download | linux-1d425066f15faa6965fa6361da4c52e4020fd8d0.tar.xz linux-1d425066f15faa6965fa6361da4c52e4020fd8d0.zip |
drm/xe: Fix modpost warning on kunit modules
When built with W=1, the following warnings show up on modpost:
MODPOST drivers/gpu/drm/xe/Module.symvers
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_bo_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_dma_buf_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_migrate_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_pci_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_rtp_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_wa_test.o
Add the module description for each of these to fix the warning.
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20231120221904.695630-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/tests/xe_migrate_test.c')
-rw-r--r-- | drivers/gpu/drm/xe/tests/xe_migrate_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/tests/xe_migrate_test.c b/drivers/gpu/drm/xe/tests/xe_migrate_test.c index 39179eae890b..cf0c173b945f 100644 --- a/drivers/gpu/drm/xe/tests/xe_migrate_test.c +++ b/drivers/gpu/drm/xe/tests/xe_migrate_test.c @@ -21,4 +21,5 @@ kunit_test_suite(xe_migrate_test_suite); MODULE_AUTHOR("Intel Corporation"); MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("xe_migrate kunit test"); MODULE_IMPORT_NS(EXPORTED_FOR_KUNIT_TESTING); |