diff options
author | Jeff Johnson <quic_jjohnson@quicinc.com> | 2024-06-06 21:42:46 -0700 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-06-10 10:32:48 +0200 |
commit | ecc24fc3718c573c105766f2589228500a8ae04a (patch) | |
tree | 26d5e0058fd4fdee595a61e1934139591ad367be | |
parent | aa61186951cc1fd302e7d2d180061a8d568dff90 (diff) | |
download | linux-ecc24fc3718c573c105766f2589228500a8ae04a.tar.gz linux-ecc24fc3718c573c105766f2589228500a8ae04a.tar.bz2 linux-ecc24fc3718c573c105766f2589228500a8ae04a.zip |
drm/tests: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_kunit_helpers.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_buddy_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_cmdline_parser_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_connector_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_damage_helper_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_dp_mst_helper_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_exec_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_format_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_framebuffer_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_gem_shmem_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_managed_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_mm_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_modes_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_plane_helper_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_probe_helper_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/tests/drm_rect_test.o
Add the missing invocations of the MODULE_DESCRIPTION() macro.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240606-md-drivers-gpu-drm-tests-v1-1-228ca6213969@quicinc.com
-rw-r--r-- | drivers/gpu/drm/tests/drm_buddy_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_cmdline_parser_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_connector_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_damage_helper_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_dp_mst_helper_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_exec_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_format_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_framebuffer_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_gem_shmem_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_kunit_helpers.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_managed_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_mm_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_modes_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_plane_helper_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_probe_helper_test.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tests/drm_rect_test.c | 1 |
16 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tests/drm_buddy_test.c b/drivers/gpu/drm/tests/drm_buddy_test.c index b3be68b03610..dac1ba64e002 100644 --- a/drivers/gpu/drm/tests/drm_buddy_test.c +++ b/drivers/gpu/drm/tests/drm_buddy_test.c @@ -774,4 +774,5 @@ static struct kunit_suite drm_buddy_test_suite = { kunit_test_suite(drm_buddy_test_suite); MODULE_AUTHOR("Intel Corporation"); +MODULE_DESCRIPTION("Kunit test for drm_buddy functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_cmdline_parser_test.c b/drivers/gpu/drm/tests/drm_cmdline_parser_test.c index 88f7f518ffb3..6f1457bd21d9 100644 --- a/drivers/gpu/drm/tests/drm_cmdline_parser_test.c +++ b/drivers/gpu/drm/tests/drm_cmdline_parser_test.c @@ -1056,4 +1056,5 @@ static struct kunit_suite drm_cmdline_parser_test_suite = { kunit_test_suite(drm_cmdline_parser_test_suite); MODULE_AUTHOR("Maxime Ripard <maxime.ripard@bootlin.com>"); +MODULE_DESCRIPTION("Kunit test for drm_cmdline_parser functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_connector_test.c b/drivers/gpu/drm/tests/drm_connector_test.c index eda2e5d08cd9..2812b123a79c 100644 --- a/drivers/gpu/drm/tests/drm_connector_test.c +++ b/drivers/gpu/drm/tests/drm_connector_test.c @@ -1290,4 +1290,5 @@ kunit_test_suites( ); MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>"); +MODULE_DESCRIPTION("Kunit test for drm_modes functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_damage_helper_test.c b/drivers/gpu/drm/tests/drm_damage_helper_test.c index 115034fc3421..0df2e1a54b0d 100644 --- a/drivers/gpu/drm/tests/drm_damage_helper_test.c +++ b/drivers/gpu/drm/tests/drm_damage_helper_test.c @@ -636,4 +636,5 @@ static struct kunit_suite drm_damage_helper_test_suite = { kunit_test_suite(drm_damage_helper_test_suite); +MODULE_DESCRIPTION("Test case for drm_damage_helper functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c b/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c index d916e548fcb1..89cd9e4f4d32 100644 --- a/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c +++ b/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c @@ -588,4 +588,5 @@ static struct kunit_suite drm_dp_mst_helper_test_suite = { kunit_test_suite(drm_dp_mst_helper_test_suite); +MODULE_DESCRIPTION("Test cases for the DRM DP MST helpers"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_exec_test.c b/drivers/gpu/drm/tests/drm_exec_test.c index 81f928a429ba..d6c4dd1194a0 100644 --- a/drivers/gpu/drm/tests/drm_exec_test.c +++ b/drivers/gpu/drm/tests/drm_exec_test.c @@ -210,4 +210,5 @@ static struct kunit_suite drm_exec_test_suite = { kunit_test_suite(drm_exec_test_suite); MODULE_AUTHOR("AMD"); +MODULE_DESCRIPTION("Kunit test for drm_exec functions"); MODULE_LICENSE("GPL and additional rights"); diff --git a/drivers/gpu/drm/tests/drm_format_test.c b/drivers/gpu/drm/tests/drm_format_test.c index ec6996ce819a..22e2371fd66a 100644 --- a/drivers/gpu/drm/tests/drm_format_test.c +++ b/drivers/gpu/drm/tests/drm_format_test.c @@ -356,4 +356,5 @@ static struct kunit_suite drm_format_test_suite = { kunit_test_suite(drm_format_test_suite); +MODULE_DESCRIPTION("Test cases for the drm_format functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_framebuffer_test.c b/drivers/gpu/drm/tests/drm_framebuffer_test.c index f759d9f3b76e..06f03b78c9c4 100644 --- a/drivers/gpu/drm/tests/drm_framebuffer_test.c +++ b/drivers/gpu/drm/tests/drm_framebuffer_test.c @@ -379,4 +379,5 @@ static struct kunit_suite drm_framebuffer_test_suite = { kunit_test_suite(drm_framebuffer_test_suite); +MODULE_DESCRIPTION("Test cases for the drm_framebuffer functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_gem_shmem_test.c b/drivers/gpu/drm/tests/drm_gem_shmem_test.c index 91202e40cde9..c3758faa1b83 100644 --- a/drivers/gpu/drm/tests/drm_gem_shmem_test.c +++ b/drivers/gpu/drm/tests/drm_gem_shmem_test.c @@ -380,4 +380,5 @@ static struct kunit_suite drm_gem_shmem_suite = { kunit_test_suite(drm_gem_shmem_suite); +MODULE_DESCRIPTION("KUnit test suite for GEM objects backed by shmem buffers"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c index d5317d13d3fc..aa62719dab0e 100644 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c @@ -312,4 +312,5 @@ drm_kunit_helper_create_crtc(struct kunit *test, EXPORT_SYMBOL_GPL(drm_kunit_helper_create_crtc); MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>"); +MODULE_DESCRIPTION("KUnit test suite helper functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_managed_test.c b/drivers/gpu/drm/tests/drm_managed_test.c index 76eb273c9b36..d40c7ef7f9e1 100644 --- a/drivers/gpu/drm/tests/drm_managed_test.c +++ b/drivers/gpu/drm/tests/drm_managed_test.c @@ -113,4 +113,5 @@ static struct kunit_suite drm_managed_test_suite = { kunit_test_suite(drm_managed_test_suite); MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>"); +MODULE_DESCRIPTION("KUnit DRM managed test suite"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_mm_test.c b/drivers/gpu/drm/tests/drm_mm_test.c index 8497d9990b96..6174d0929020 100644 --- a/drivers/gpu/drm/tests/drm_mm_test.c +++ b/drivers/gpu/drm/tests/drm_mm_test.c @@ -356,4 +356,5 @@ static struct kunit_suite drm_mm_test_suite = { kunit_test_suite(drm_mm_test_suite); MODULE_AUTHOR("Intel Corporation"); +MODULE_DESCRIPTION("Test cases for the drm_mm range manager"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_modes_test.c b/drivers/gpu/drm/tests/drm_modes_test.c index 1e9f63fbfead..7029f7a2eb4d 100644 --- a/drivers/gpu/drm/tests/drm_modes_test.c +++ b/drivers/gpu/drm/tests/drm_modes_test.c @@ -147,4 +147,5 @@ static struct kunit_suite drm_modes_analog_tv_test_suite = { kunit_test_suite(drm_modes_analog_tv_test_suite); MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>"); +MODULE_DESCRIPTION("Kunit test for drm_modes functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_plane_helper_test.c b/drivers/gpu/drm/tests/drm_plane_helper_test.c index 0f392146b233..7e975a3f4a71 100644 --- a/drivers/gpu/drm/tests/drm_plane_helper_test.c +++ b/drivers/gpu/drm/tests/drm_plane_helper_test.c @@ -315,4 +315,5 @@ static struct kunit_suite drm_plane_helper_test_suite = { kunit_test_suite(drm_plane_helper_test_suite); +MODULE_DESCRIPTION("Test cases for the drm_plane_helper functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_probe_helper_test.c b/drivers/gpu/drm/tests/drm_probe_helper_test.c index 1a2044070a6c..bc09ff38aca1 100644 --- a/drivers/gpu/drm/tests/drm_probe_helper_test.c +++ b/drivers/gpu/drm/tests/drm_probe_helper_test.c @@ -207,4 +207,5 @@ static struct kunit_suite drm_test_connector_helper_tv_get_modes_suite = { kunit_test_suite(drm_test_connector_helper_tv_get_modes_suite); MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>"); +MODULE_DESCRIPTION("Kunit test for drm_probe_helper functions"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/tests/drm_rect_test.c b/drivers/gpu/drm/tests/drm_rect_test.c index 76332cd2ead8..17e1f34b7610 100644 --- a/drivers/gpu/drm/tests/drm_rect_test.c +++ b/drivers/gpu/drm/tests/drm_rect_test.c @@ -526,4 +526,5 @@ static struct kunit_suite drm_rect_test_suite = { kunit_test_suite(drm_rect_test_suite); +MODULE_DESCRIPTION("Test cases for the drm_rect functions"); MODULE_LICENSE("GPL"); |