diff mbox series

cpuidle: haltpoll: add missing MODULE_DESCRIPTION() macro

Message ID 20240602-md-cpuidle-haltpoll-v1-1-8d649277ca23@quicinc.com
State Accepted
Commit 085aa9f58cf663926e6fc0136d3c6167bd58fee3
Headers show
Series cpuidle: haltpoll: add missing MODULE_DESCRIPTION() macro | expand

Commit Message

Jeff Johnson June 2, 2024, 10:24 p.m. UTC
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cpuidle/cpuidle-haltpoll.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 drivers/cpuidle/cpuidle-haltpoll.c | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: a693b9c95abd4947c2d06e05733de5d470ab6586
change-id: 20240602-md-cpuidle-haltpoll-6636ca6ebc24

Comments

Rafael J. Wysocki June 14, 2024, 4:16 p.m. UTC | #1
On Mon, Jun 3, 2024 at 12:24 AM Jeff Johnson <quic_jjohnson@quicinc.com> wrote:
>
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cpuidle/cpuidle-haltpoll.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
>  drivers/cpuidle/cpuidle-haltpoll.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpuidle/cpuidle-haltpoll.c b/drivers/cpuidle/cpuidle-haltpoll.c
> index d8515d5c0853..bcd03e893a0a 100644
> --- a/drivers/cpuidle/cpuidle-haltpoll.c
> +++ b/drivers/cpuidle/cpuidle-haltpoll.c
> @@ -141,5 +141,6 @@ static void __exit haltpoll_exit(void)
>
>  module_init(haltpoll_init);
>  module_exit(haltpoll_exit);
> +MODULE_DESCRIPTION("cpuidle driver for haltpoll governor");
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Marcelo Tosatti <mtosatti@redhat.com>");
>
> ---

Applied as 6.11 material, thanks!
diff mbox series

Patch

diff --git a/drivers/cpuidle/cpuidle-haltpoll.c b/drivers/cpuidle/cpuidle-haltpoll.c
index d8515d5c0853..bcd03e893a0a 100644
--- a/drivers/cpuidle/cpuidle-haltpoll.c
+++ b/drivers/cpuidle/cpuidle-haltpoll.c
@@ -141,5 +141,6 @@  static void __exit haltpoll_exit(void)
 
 module_init(haltpoll_init);
 module_exit(haltpoll_exit);
+MODULE_DESCRIPTION("cpuidle driver for haltpoll governor");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Marcelo Tosatti <mtosatti@redhat.com>");