Re: [PATCH 18/27] kbuild, mfd: remove MODULE_LICENSE in non-modules
flat view
From: Nick Alcock <hidden>
Date: 2023-02-23 19:25:03
Also in:
lkml
On 23 Feb 2023, Lee Jones stated:
On Wed, 22 Feb 2023, DLG Adam Ward wrote:quoted
On 22/02/2023 12:15, Nick Alcock wrote:quoted
Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules.Makes sense - but if you need to do a V2, would you mind removing the erroneous claim on DA9055 at the same time?
I don't know what this means. There are two references to DA9055 in this patch, both in context (not in modified lines), one in drivers/mfd/da9055-core.c, the other in rivers/mfd/da9055-i2c.c. To me these both seem likely to be DA9055-related. Are you saying that one of them isn't?
Could you do this anyway please. While you're at it, please remove the 'kbuild' reference from the subject line, thanks.
I was going to say that it seems to be in active use, but I just checked and a total of zero files touched by this series have ever used 'kbuild' in their log prefixes anywhere. So... dropped, series-wide. (By the overdesigned approach of using a kbuild: prefix if and only if at least one file in the files touched in that commit has used that prefix somewhere in its history.) -- NULL && (void)