* [PATCH] kunit/usercopy: Add missing MODULE_DESCRIPTION()
@ 2024-06-19 20:26 Kees Cook
2024-06-20 21:00 ` Rae Moar
2024-07-02 4:09 ` David Gow
0 siblings, 2 replies; 3+ messages in thread
From: Kees Cook @ 2024-06-19 20:26 UTC (permalink / raw)
To: Shuah Khan
Cc: Kees Cook, Jeff Johnson, Brendan Higgins, David Gow, Rae Moar,
Gustavo A. R. Silva, Andrew Morton, linux-kselftest, kunit-dev,
linux-hardening, linux-mm, linux-kernel
From: Jeff Johnson <quic_jjohnson@quicinc.com>
Fix warning seen with:
$ make allmodconfig && make W=1 C=1 lib/usercopy_kunit.ko
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/usercopy_kunit.o
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kees Cook <kees@kernel.org>
---
At Jeff's reminder, I've split this out of:
https://lore.kernel.org/all/20240601-md-lib-test-v1-1-a728620e37d8@quicinc.com/
since the file got renamed.
---
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Jeff Johnson <quic_jjohnson@quicinc.com>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Rae Moar <rmoar@google.com>
Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kselftest@vger.kernel.org
Cc: kunit-dev@googlegroups.com
Cc: linux-hardening@vger.kernel.org
Cc: linux-mm@kvack.org
---
lib/usercopy_kunit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/usercopy_kunit.c b/lib/usercopy_kunit.c
index e819561a540d..77fa00a13df7 100644
--- a/lib/usercopy_kunit.c
+++ b/lib/usercopy_kunit.c
@@ -331,4 +331,5 @@ static struct kunit_suite usercopy_test_suite = {
kunit_test_suites(&usercopy_test_suite);
MODULE_AUTHOR("Kees Cook <kees@kernel.org>");
+MODULE_DESCRIPTION("Kernel module for testing copy_to/from_user infrastructure");
MODULE_LICENSE("GPL");
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kunit/usercopy: Add missing MODULE_DESCRIPTION()
2024-06-19 20:26 [PATCH] kunit/usercopy: Add missing MODULE_DESCRIPTION() Kees Cook
@ 2024-06-20 21:00 ` Rae Moar
2024-07-02 4:09 ` David Gow
1 sibling, 0 replies; 3+ messages in thread
From: Rae Moar @ 2024-06-20 21:00 UTC (permalink / raw)
To: Kees Cook
Cc: Shuah Khan, Jeff Johnson, Brendan Higgins, David Gow,
Gustavo A. R. Silva, Andrew Morton, linux-kselftest, kunit-dev,
linux-hardening, linux-mm, linux-kernel
On Wed, Jun 19, 2024 at 4:27 PM Kees Cook <kees@kernel.org> wrote:
>
> From: Jeff Johnson <quic_jjohnson@quicinc.com>
>
> Fix warning seen with:
>
> $ make allmodconfig && make W=1 C=1 lib/usercopy_kunit.ko
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/usercopy_kunit.o
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> Signed-off-by: Kees Cook <kees@kernel.org>
Hi!
This looks good to me.
Reviewed-by: Rae Moar <rmoar@google.com>
Thanks!
-Rae
> ---
> At Jeff's reminder, I've split this out of:
> https://lore.kernel.org/all/20240601-md-lib-test-v1-1-a728620e37d8@quicinc.com/
> since the file got renamed.
> ---
> Cc: Shuah Khan <skhan@linuxfoundation.org>
> Cc: Jeff Johnson <quic_jjohnson@quicinc.com>
> Cc: Brendan Higgins <brendan.higgins@linux.dev>
> Cc: David Gow <davidgow@google.com>
> Cc: Rae Moar <rmoar@google.com>
> Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: linux-kselftest@vger.kernel.org
> Cc: kunit-dev@googlegroups.com
> Cc: linux-hardening@vger.kernel.org
> Cc: linux-mm@kvack.org
> ---
> lib/usercopy_kunit.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/usercopy_kunit.c b/lib/usercopy_kunit.c
> index e819561a540d..77fa00a13df7 100644
> --- a/lib/usercopy_kunit.c
> +++ b/lib/usercopy_kunit.c
> @@ -331,4 +331,5 @@ static struct kunit_suite usercopy_test_suite = {
>
> kunit_test_suites(&usercopy_test_suite);
> MODULE_AUTHOR("Kees Cook <kees@kernel.org>");
> +MODULE_DESCRIPTION("Kernel module for testing copy_to/from_user infrastructure");
> MODULE_LICENSE("GPL");
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kunit/usercopy: Add missing MODULE_DESCRIPTION()
2024-06-19 20:26 [PATCH] kunit/usercopy: Add missing MODULE_DESCRIPTION() Kees Cook
2024-06-20 21:00 ` Rae Moar
@ 2024-07-02 4:09 ` David Gow
1 sibling, 0 replies; 3+ messages in thread
From: David Gow @ 2024-07-02 4:09 UTC (permalink / raw)
To: Kees Cook
Cc: Shuah Khan, Jeff Johnson, Brendan Higgins, Rae Moar,
Gustavo A. R. Silva, Andrew Morton, linux-kselftest, kunit-dev,
linux-hardening, linux-mm, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]
On Thu, 20 Jun 2024 at 04:27, Kees Cook <kees@kernel.org> wrote:
>
> From: Jeff Johnson <quic_jjohnson@quicinc.com>
>
> Fix warning seen with:
>
> $ make allmodconfig && make W=1 C=1 lib/usercopy_kunit.ko
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/usercopy_kunit.o
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> Signed-off-by: Kees Cook <kees@kernel.org>
> ---
> At Jeff's reminder, I've split this out of:
> https://lore.kernel.org/all/20240601-md-lib-test-v1-1-a728620e37d8@quicinc.com/
> since the file got renamed.
> ---
> Cc: Shuah Khan <skhan@linuxfoundation.org>
> Cc: Jeff Johnson <quic_jjohnson@quicinc.com>
> Cc: Brendan Higgins <brendan.higgins@linux.dev>
> Cc: David Gow <davidgow@google.com>
> Cc: Rae Moar <rmoar@google.com>
> Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: linux-kselftest@vger.kernel.org
> Cc: kunit-dev@googlegroups.com
> Cc: linux-hardening@vger.kernel.org
> Cc: linux-mm@kvack.org
> ---
Reviewed-by: David Gow <davidgow@google.com>
Cheers,
-- David
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4014 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-02 4:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-19 20:26 [PATCH] kunit/usercopy: Add missing MODULE_DESCRIPTION() Kees Cook
2024-06-20 21:00 ` Rae Moar
2024-07-02 4:09 ` David Gow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox