All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <mripard@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
	linux-kernel@vger.kernel.org, Maxime Ripard <mripard@kernel.org>,
	Stephen Rothwell <sfr@canb.auug.org.au>
Subject: [PATCH 2/2] drivers: base: test: Add missing MODULE_* macros to root device tests
Date: Wed, 16 Aug 2023 09:30:19 +0200	[thread overview]
Message-ID: <20230816073019.1446155-2-mripard@kernel.org> (raw)
In-Reply-To: <20230816073019.1446155-1-mripard@kernel.org>

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


      reply	other threads:[~2023-08-16  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230816073019.1446155-2-mripard@kernel.org \
    --to=mripard@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.