Skip to content

Commit e003498

Browse files
committed
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: dc7c516 ("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>
1 parent fe971f9 commit e003498

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/firewire/uapi-test.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,5 @@ static struct kunit_suite structure_layout_test_suite = {
8585
.test_cases = structure_layout_test_cases,
8686
};
8787
kunit_test_suite(structure_layout_test_suite);
88+
89+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)