aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2023-05-30 19:25:32 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2023-05-30 19:37:29 +0900
commite003498ec055eef3847e5433273df1e151b9af4b (patch)
tree621d6cdfa2124fa8db5527a2e59114b22f745dc8 /drivers/firewire
parentfe971f9163b67b5338dfe4a0e4ce1cfa1b6cd325 (diff)
downloadlinux-e003498ec055eef3847e5433273df1e151b9af4b.tar.gz
firewire: fix build failure due to missing module license
The added KUnit test has no MODULE_LICENSE even if built for tristate. It brings build failure in linux-next integration. This commit releases the test under GPL and fixes the bug. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/lkml/20230530122450.1603af75@canb.auug.org.au/ Fixes: dc7c51638f46 ("firewire: add KUnit test to check layout of UAPI structures") Link: https://lore.kernel.org/r/20230530102532.56386-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/uapi-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firewire/uapi-test.c b/drivers/firewire/uapi-test.c
index c6ebf02e3d45e7..2fcbede4fab1f5 100644
--- a/drivers/firewire/uapi-test.c
+++ b/drivers/firewire/uapi-test.c
@@ -85,3 +85,5 @@ static struct kunit_suite structure_layout_test_suite = {
.test_cases = structure_layout_test_cases,
};
kunit_test_suite(structure_layout_test_suite);
+
+MODULE_LICENSE("GPL");