Re: [PATCH] macintosh/mac_hid: add MODULE_DESCRIPTION()

From: Michael Ellerman
Date: Thu Jul 04 2024 - 08:30:55 EST


Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> 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@xxxxxxxxxxx>
> ---
> 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