2024-06-02 22:05:45

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] counter: ftm-quaddec: add missing MODULE_DESCRIPTION() macro

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/counter/ftm-quaddec.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <[email protected]>
---
drivers/counter/ftm-quaddec.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/counter/ftm-quaddec.c b/drivers/counter/ftm-quaddec.c
index aea6622a9b13..200876f3ec04 100644
--- a/drivers/counter/ftm-quaddec.c
+++ b/drivers/counter/ftm-quaddec.c
@@ -322,6 +322,7 @@ static struct platform_driver ftm_quaddec_driver = {

module_platform_driver(ftm_quaddec_driver);

+MODULE_DESCRIPTION("Flex Timer Module Quadrature decoder");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Kjeld Flarup <[email protected]>");
MODULE_AUTHOR("Patrick Havelange <[email protected]>");

---
base-commit: a693b9c95abd4947c2d06e05733de5d470ab6586
change-id: 20240602-md-ftm-quaddec-7902568eaf18



2024-06-04 15:04:54

by William Breathitt Gray

[permalink] [raw]
Subject: Re: [PATCH] counter: ftm-quaddec: add missing MODULE_DESCRIPTION() macro

On Sun, Jun 02, 2024 at 03:05:20PM -0700, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/counter/ftm-quaddec.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <[email protected]>

Hi Jeff,

Would you add a Fixes tag as well so we can merge this into the stable
trees that need it?

Thanks,

William Breathitt Gray


Attachments:
(No filename) (468.00 B)
signature.asc (235.00 B)
Download all attachments

2024-06-04 15:48:40

by William Breathitt Gray

[permalink] [raw]
Subject: Re: [PATCH] counter: ftm-quaddec: add missing MODULE_DESCRIPTION() macro


On Sun, 02 Jun 2024 15:05:20 -0700, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/counter/ftm-quaddec.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
>

Applied, thanks!

[1/1] counter: ftm-quaddec: add missing MODULE_DESCRIPTION() macro
commit: b84dba784fcb44d142bcc49effbb27244fe782cc

Best regards,
--
William Breathitt Gray <[email protected]>

2024-06-04 15:50:47

by Jeff Johnson

[permalink] [raw]
Subject: Re: [PATCH] counter: ftm-quaddec: add missing MODULE_DESCRIPTION() macro

On 6/4/2024 8:04 AM, William Breathitt Gray wrote:
> On Sun, Jun 02, 2024 at 03:05:20PM -0700, Jeff Johnson wrote:
>> make allmodconfig && make W=1 C=1 reports:
>> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/counter/ftm-quaddec.o
>>
>> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>>
>> Signed-off-by: Jeff Johnson <[email protected]>
>
> Hi Jeff,
>
> Would you add a Fixes tag as well so we can merge this into the stable
> trees that need it?
>
> Thanks,
>
> William Breathitt Gray

There are a large number of these, and they only occur with W=1 builds, so I
don't think they are taking these into stable trees.