]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fpga: tests: add module descriptions
authorArnd Bergmann <arnd@arndb.de>
Mon, 24 Mar 2025 17:32:29 +0000 (18:32 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 12 Apr 2025 00:32:38 +0000 (17:32 -0700)
Modules without a description now cause a warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fpga/tests/fpga-bridge-test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fpga/tests/fpga-mgr-test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fpga/tests/fpga-region-test.o

Link: https://lkml.kernel.org/r/20250324173242.1501003-4-arnd@kernel.org
Fixes: 6c6c1fc09de3 ("modpost: require a MODULE_DESCRIPTION()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Hao Wu <hao.wu@intel.com>
Cc: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Cc: Marco Pagani <marpagan@redhat.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Moritz Fischer <mdf@kernel.org>
Cc: Russ Weight <russ.weight@linux.dev>
Cc: Stehen Rothwell <sfr@canb.auug.org.au>
Cc: Tom Rix <trix@redhat.com>
Cc: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/fpga/tests/fpga-bridge-test.c
drivers/fpga/tests/fpga-mgr-test.c
drivers/fpga/tests/fpga-region-test.c

index b9ab29809e961926055862bd4b139a30064841b3..124ba40e32b18c8ef7e3362d6309e3540e4ba544 100644 (file)
@@ -170,4 +170,5 @@ static struct kunit_suite fpga_bridge_suite = {
 
 kunit_test_suite(fpga_bridge_suite);
 
+MODULE_DESCRIPTION("KUnit test for the FPGA Bridge");
 MODULE_LICENSE("GPL");
index 9cb37aefbac4b23d3a33262e70b221ae271f1b52..8748babb050458298a68876ec12a6b1c36297433 100644 (file)
@@ -330,4 +330,5 @@ static struct kunit_suite fpga_mgr_suite = {
 
 kunit_test_suite(fpga_mgr_suite);
 
+MODULE_DESCRIPTION("KUnit test for the FPGA Manager");
 MODULE_LICENSE("GPL");
index 6a108cafded863035f1872f96df5640599795896..020ceac48509faf3e24a0f3b7e08f10f6532fab7 100644 (file)
@@ -214,4 +214,5 @@ static struct kunit_suite fpga_region_suite = {
 
 kunit_test_suite(fpga_region_suite);
 
+MODULE_DESCRIPTION("KUnit test for the FPGA Region");
 MODULE_LICENSE("GPL");