* [PATCH] macintosh/mac_hid: add MODULE_DESCRIPTION()
@ 2024-05-10 1:23 Jeff Johnson
2024-07-04 12:30 ` Michael Ellerman
2024-07-06 23:10 ` Michael Ellerman
0 siblings, 2 replies; 3+ messages in thread
From: Jeff Johnson @ 2024-05-10 1:23 UTC (permalink / raw)
To: linuxppc-dev, linux-kernel; +Cc: Jeff Johnson
Fix the make W=1 warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/macintosh/mac_hid.o
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
drivers/macintosh/mac_hid.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c
index 1ae3539beff5..eb7a173da071 100644
--- a/drivers/macintosh/mac_hid.c
+++ b/drivers/macintosh/mac_hid.c
@@ -16,6 +16,7 @@
#include <linux/module.h>
#include <linux/slab.h>
+MODULE_DESCRIPTION("Macintosh mouse button 2+3 emulation");
MODULE_LICENSE("GPL");
static int mouse_emulate_buttons;
---
base-commit: dd5a440a31fae6e459c0d6271dddd62825505361
change-id: 20240509-mac_hid-md-7df0c349753c
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] macintosh/mac_hid: add MODULE_DESCRIPTION()
2024-05-10 1:23 [PATCH] macintosh/mac_hid: add MODULE_DESCRIPTION() Jeff Johnson
@ 2024-07-04 12:30 ` Michael Ellerman
2024-07-06 23:10 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2024-07-04 12:30 UTC (permalink / raw)
To: Jeff Johnson, linuxppc-dev, linux-kernel; +Cc: Jeff Johnson
Jeff Johnson <quic_jjohnson@quicinc.com> writes:
> Fix the make W=1 warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/macintosh/mac_hid.o
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> drivers/macintosh/mac_hid.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c
> index 1ae3539beff5..eb7a173da071 100644
> --- a/drivers/macintosh/mac_hid.c
> +++ b/drivers/macintosh/mac_hid.c
> @@ -16,6 +16,7 @@
> #include <linux/module.h>
> #include <linux/slab.h>
>
> +MODULE_DESCRIPTION("Macintosh mouse button 2+3 emulation");
I dropped the "Macintosh" from this, because AIUI the driver is not
actually mac specific, despite where it lives in the tree.
cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] macintosh/mac_hid: add MODULE_DESCRIPTION()
2024-05-10 1:23 [PATCH] macintosh/mac_hid: add MODULE_DESCRIPTION() Jeff Johnson
2024-07-04 12:30 ` Michael Ellerman
@ 2024-07-06 23:10 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2024-07-06 23:10 UTC (permalink / raw)
To: linuxppc-dev, linux-kernel, Jeff Johnson
On Thu, 09 May 2024 18:23:37 -0700, Jeff Johnson wrote:
> Fix the make W=1 warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/macintosh/mac_hid.o
>
>
Applied to powerpc/next.
[1/1] macintosh/mac_hid: add MODULE_DESCRIPTION()
https://git.kernel.org/powerpc/c/50b5fed94e21c0992c79fafdd041c9863c1fd2d2
cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-06 23:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10 1:23 [PATCH] macintosh/mac_hid: add MODULE_DESCRIPTION() Jeff Johnson
2024-07-04 12:30 ` Michael Ellerman
2024-07-06 23:10 ` Michael Ellerman
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).