linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] drivers: base: test: Add missing MODULE_* macros for platform devices tests
@ 2023-08-16  7:30 Maxime Ripard
  2023-08-16  7:30 ` [PATCH 2/2] drivers: base: test: Add missing MODULE_* macros to root device tests Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Ripard @ 2023-08-16  7:30 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Rafael J . Wysocki, linux-kernel, Maxime Ripard, Stephen Rothwell

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

Make sure they're there.

Fixes: b4cc44301b9d ("drivers: base: Add basic devm tests for platform devices")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 drivers/base/test/platform-device-test.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/base/test/platform-device-test.c b/drivers/base/test/platform-device-test.c
index 1ae5ce8bd366..ea05b8785743 100644
--- a/drivers/base/test/platform-device-test.c
+++ b/drivers/base/test/platform-device-test.c
@@ -218,3 +218,7 @@ static struct kunit_suite platform_device_devm_test_suite = {
 };
 
 kunit_test_suite(platform_device_devm_test_suite);
+
+MODULE_DESCRIPTION("Test module for platform devices");
+MODULE_AUTHOR("Maxime Ripard <mripard@kernel.org>");
+MODULE_LICENSE("GPL");
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] drivers: base: test: Add missing MODULE_* macros to root device tests
  2023-08-16  7:30 [PATCH 1/2] drivers: base: test: Add missing MODULE_* macros for platform devices tests Maxime Ripard
@ 2023-08-16  7:30 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2023-08-16  7:30 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Rafael J . Wysocki, linux-kernel, Maxime Ripard, Stephen Rothwell

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>
---
 drivers/base/test/root-device-test.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/base/test/root-device-test.c b/drivers/base/test/root-device-test.c
index 780d07455f57..9aea23c9123e 100644
--- a/drivers/base/test/root-device-test.c
+++ b/drivers/base/test/root-device-test.c
@@ -106,3 +106,7 @@ static struct kunit_suite root_device_devm_test_suite = {
 };
 
 kunit_test_suite(root_device_devm_test_suite);
+
+MODULE_DESCRIPTION("Test module for root devices");
+MODULE_AUTHOR("Maxime Ripard <mripard@kernel.org>");
+MODULE_LICENSE("GPL");
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-16  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-16  7:30 [PATCH 1/2] drivers: base: test: Add missing MODULE_* macros for platform devices tests Maxime Ripard
2023-08-16  7:30 ` [PATCH 2/2] drivers: base: test: Add missing MODULE_* macros to root device tests Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).