]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe: Fix modpost warning on kunit modules
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 20 Nov 2023 22:19:04 +0000 (14:19 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:44:51 +0000 (11:44 -0500)
commit1d425066f15faa6965fa6361da4c52e4020fd8d0
treee96099830b41f712dca7294153f6928b904046d0
parent1a3d4d76bacee545c620f5935a5bf4677ad88d4c
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>
drivers/gpu/drm/xe/tests/xe_bo_test.c
drivers/gpu/drm/xe/tests/xe_dma_buf_test.c
drivers/gpu/drm/xe/tests/xe_migrate_test.c
drivers/gpu/drm/xe/tests/xe_pci_test.c
drivers/gpu/drm/xe/tests/xe_rtp_test.c
drivers/gpu/drm/xe/tests/xe_wa_test.c