Skip to content

Commit 6810431

Browse files
arndbakpm00
authored andcommitted
fpga: tests: add module descriptions
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: 6c6c1fc ("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>
1 parent 1076417 commit 6810431

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

drivers/fpga/tests/fpga-bridge-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,5 @@ static struct kunit_suite fpga_bridge_suite = {
170170

171171
kunit_test_suite(fpga_bridge_suite);
172172

173+
MODULE_DESCRIPTION("KUnit test for the FPGA Bridge");
173174
MODULE_LICENSE("GPL");

drivers/fpga/tests/fpga-mgr-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,4 +330,5 @@ static struct kunit_suite fpga_mgr_suite = {
330330

331331
kunit_test_suite(fpga_mgr_suite);
332332

333+
MODULE_DESCRIPTION("KUnit test for the FPGA Manager");
333334
MODULE_LICENSE("GPL");

drivers/fpga/tests/fpga-region-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,5 @@ static struct kunit_suite fpga_region_suite = {
214214

215215
kunit_test_suite(fpga_region_suite);
216216

217+
MODULE_DESCRIPTION("KUnit test for the FPGA Region");
217218
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)