Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers: base: test: Add missing MODULE_* macros to root device tests

Commit 06188bc80ccb ("drivers: base: Add basic devm tests for root
devices") introduced a new set of tests for root devices that could be
compiled as a module, but didn't have the usual module macros.

Make sure they're there.

Fixes: 06188bc80ccb ("drivers: base: Add basic devm tests for root devices")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20230816073019.1446155-2-mripard@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Maxime Ripard and committed by
Greg Kroah-Hartman
f7bb2426 f71b144e

+4
+4
drivers/base/test/root-device-test.c
··· 106 106 }; 107 107 108 108 kunit_test_suite(root_device_devm_test_suite); 109 + 110 + MODULE_DESCRIPTION("Test module for root devices"); 111 + MODULE_AUTHOR("Maxime Ripard <mripard@kernel.org>"); 112 + MODULE_LICENSE("GPL");