* [PATCH] kernel/sysctl-test: add MODULE_DESCRIPTION()
@ 2024-05-29 21:25 ` Jeff Johnson
2024-06-03 12:53 ` Joel Granados
2024-06-03 13:23 ` Joel Granados
0 siblings, 2 replies; 3+ messages in thread
From: Jeff Johnson @ 2024-05-29 21:25 UTC (permalink / raw)
To: Luis Chamberlain, Kees Cook, Joel Granados
Cc: linux-kernel, linux-fsdevel, kernel-janitors, Jeff Johnson
Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/sysctl-test.o
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
kernel/sysctl-test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sysctl-test.c b/kernel/sysctl-test.c
index 6ef887c19c48..92f94ea28957 100644
--- a/kernel/sysctl-test.c
+++ b/kernel/sysctl-test.c
@@ -388,4 +388,5 @@ static struct kunit_suite sysctl_test_suite = {
kunit_test_suites(&sysctl_test_suite);
+MODULE_DESCRIPTION("KUnit test of proc sysctl");
MODULE_LICENSE("GPL v2");
---
base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
change-id: 20240529-md-kernel-sysctl-test-2bbad793ac62
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kernel/sysctl-test: add MODULE_DESCRIPTION()
2024-05-29 21:25 ` [PATCH] kernel/sysctl-test: add MODULE_DESCRIPTION() Jeff Johnson
@ 2024-06-03 12:53 ` Joel Granados
2024-06-03 13:23 ` Joel Granados
1 sibling, 0 replies; 3+ messages in thread
From: Joel Granados @ 2024-06-03 12:53 UTC (permalink / raw)
To: Jeff Johnson
Cc: Luis Chamberlain, Kees Cook, linux-kernel, linux-fsdevel,
kernel-janitors
On Wed, May 29, 2024 at 02:25:41PM -0700, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/sysctl-test.o
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> kernel/sysctl-test.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/sysctl-test.c b/kernel/sysctl-test.c
> index 6ef887c19c48..92f94ea28957 100644
> --- a/kernel/sysctl-test.c
> +++ b/kernel/sysctl-test.c
> @@ -388,4 +388,5 @@ static struct kunit_suite sysctl_test_suite = {
>
> kunit_test_suites(&sysctl_test_suite);
>
> +MODULE_DESCRIPTION("KUnit test of proc sysctl");
thx
Reviewed-by: Joel Granados <j.granados@samsung.com>
> MODULE_LICENSE("GPL v2");
>
> ---
> base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
> change-id: 20240529-md-kernel-sysctl-test-2bbad793ac62
>
--
Joel Granados
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kernel/sysctl-test: add MODULE_DESCRIPTION()
2024-05-29 21:25 ` [PATCH] kernel/sysctl-test: add MODULE_DESCRIPTION() Jeff Johnson
2024-06-03 12:53 ` Joel Granados
@ 2024-06-03 13:23 ` Joel Granados
1 sibling, 0 replies; 3+ messages in thread
From: Joel Granados @ 2024-06-03 13:23 UTC (permalink / raw)
To: Jeff Johnson
Cc: Luis Chamberlain, Kees Cook, linux-kernel, linux-fsdevel,
kernel-janitors
On Wed, May 29, 2024 at 02:25:41PM -0700, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/sysctl-test.o
I changed the message to this
"""
sysctl: Add module description to sysctl-testing
Added a module description to sysctl Kunit self test module to fix the
'make W=1' warning (" WARNING: modpost: missing MODULE_DESCRIPTION() in
kernel/sysctl-test.o")
"""
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> kernel/sysctl-test.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/sysctl-test.c b/kernel/sysctl-test.c
> index 6ef887c19c48..92f94ea28957 100644
> --- a/kernel/sysctl-test.c
> +++ b/kernel/sysctl-test.c
> @@ -388,4 +388,5 @@ static struct kunit_suite sysctl_test_suite = {
>
> kunit_test_suites(&sysctl_test_suite);
>
> +MODULE_DESCRIPTION("KUnit test of proc sysctl");
> MODULE_LICENSE("GPL v2");
>
> ---
> base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
> change-id: 20240529-md-kernel-sysctl-test-2bbad793ac62
>
--
Joel Granados
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-04 6:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20240529212552eucas1p1810ee5a1c17fb966eada0b0562338c23@eucas1p1.samsung.com>
2024-05-29 21:25 ` [PATCH] kernel/sysctl-test: add MODULE_DESCRIPTION() Jeff Johnson
2024-06-03 12:53 ` Joel Granados
2024-06-03 13:23 ` Joel Granados
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®