From: Nick Alcock <nick.alcock@oracle.com> To: Conor Dooley <conor@kernel.org> Cc: mcgrof@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH 8/8] kbuild, PCI: microchip: comment out MODULE_LICENSE in non-modules Date: Fri, 10 Feb 2023 19:26:38 +0000 [thread overview] Message-ID: <871qmx1fv5.fsf@esperi.org.uk> (raw) In-Reply-To: <Y+aMh5e9bWaTphiZ@spud> (Conor Dooley's message of "Fri, 10 Feb 2023 18:27:19 +0000") On 10 Feb 2023, Conor Dooley said: > Hey Nick, > > FYI $subject seems wrong, this is a PCI patch AFAICT. I'm deriving the prefixes automatically because there are so many of them, picking that prefix which is most commonly used across all files I touch in a given subsystem and which is present in all of them. So the PCI: microchip part seems right to me. kbuild is present in every patch in the series because this is a kbuild-driven change (the thing it disturbs is part of the build system, the construction of modules.builtin*). This seems to be common practice for kbuild-related treewide changes. > On Fri, Feb 10, 2023 at 04:47:49PM +0000, Nick Alcock wrote: >> 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 comment out all uses of MODULE_LICENSE that are not in real modules > > This patch should not been needed, there's an existing patch to make > this a module: > https://lore.kernel.org/linux-riscv/20230111125323.1911373-4-daire.mcnamara@microchip.com/ Excellent: if that's likely to go in I can take this one out. >> (the license declaration is left in as documentation). > > I don't really get this one though, why leave it there as > "documentation" when the file has an SPDX entry anyway? I was asked to. (The first version of this series just deleted it, but people were unhappy about the outright deletion of what looked like license info and the loss of MODULE_LICENSE while other MODULE_* was retained.) >> Signed-off-by: Nick Alcock <nick.alcock@oracle.com> >> Suggested-by: Luis Chamberlain <mcgrof@kernel.org> >> Cc: Luis Chamberlain <mcgrof@kernel.org> >> Cc: linux-modules@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org >> Cc: linux-pci@vger.kernel.org >> Cc: linux-riscv@lists.infradead.org > > One for the future: > How about also CCing those listed in MAINTAINERS for the file you're > changing? That... was supposed to happen. I'm invoking scripts/get_maintainer.pl --email --m --n --l --subsystem -f $files and then parsing the result for maintainer:, open list: and moderated list: lines. I thought that would catch everything, but now I see this is more complex. You are there as an M: line, so I thought you'd be reported as a maintainer:, but nooo: Conor Dooley <conor.dooley@microchip.com> (supporter:RISC-V MICROCHIP FPGA SUPPORT) I didn't realise that 'supporter' was a thing and thought get_maintainer.pl always reported maintainers as maintainer:. I'll resplit the series with supporters Cc:ed just like maintainers are. Looks like those are the only two I need to pick up. Sorry about that. (This sort of systemic scripting bug is why I did a small tranche first. So thank you very much!)
WARNING: multiple messages have this Message-ID (diff)
From: Nick Alcock <nick.alcock@oracle.com> To: Conor Dooley <conor@kernel.org> Cc: mcgrof@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH 8/8] kbuild, PCI: microchip: comment out MODULE_LICENSE in non-modules Date: Fri, 10 Feb 2023 19:26:38 +0000 [thread overview] Message-ID: <871qmx1fv5.fsf@esperi.org.uk> (raw) In-Reply-To: <Y+aMh5e9bWaTphiZ@spud> (Conor Dooley's message of "Fri, 10 Feb 2023 18:27:19 +0000") On 10 Feb 2023, Conor Dooley said: > Hey Nick, > > FYI $subject seems wrong, this is a PCI patch AFAICT. I'm deriving the prefixes automatically because there are so many of them, picking that prefix which is most commonly used across all files I touch in a given subsystem and which is present in all of them. So the PCI: microchip part seems right to me. kbuild is present in every patch in the series because this is a kbuild-driven change (the thing it disturbs is part of the build system, the construction of modules.builtin*). This seems to be common practice for kbuild-related treewide changes. > On Fri, Feb 10, 2023 at 04:47:49PM +0000, Nick Alcock wrote: >> 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 comment out all uses of MODULE_LICENSE that are not in real modules > > This patch should not been needed, there's an existing patch to make > this a module: > https://lore.kernel.org/linux-riscv/20230111125323.1911373-4-daire.mcnamara@microchip.com/ Excellent: if that's likely to go in I can take this one out. >> (the license declaration is left in as documentation). > > I don't really get this one though, why leave it there as > "documentation" when the file has an SPDX entry anyway? I was asked to. (The first version of this series just deleted it, but people were unhappy about the outright deletion of what looked like license info and the loss of MODULE_LICENSE while other MODULE_* was retained.) >> Signed-off-by: Nick Alcock <nick.alcock@oracle.com> >> Suggested-by: Luis Chamberlain <mcgrof@kernel.org> >> Cc: Luis Chamberlain <mcgrof@kernel.org> >> Cc: linux-modules@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org >> Cc: linux-pci@vger.kernel.org >> Cc: linux-riscv@lists.infradead.org > > One for the future: > How about also CCing those listed in MAINTAINERS for the file you're > changing? That... was supposed to happen. I'm invoking scripts/get_maintainer.pl --email --m --n --l --subsystem -f $files and then parsing the result for maintainer:, open list: and moderated list: lines. I thought that would catch everything, but now I see this is more complex. You are there as an M: line, so I thought you'd be reported as a maintainer:, but nooo: Conor Dooley <conor.dooley@microchip.com> (supporter:RISC-V MICROCHIP FPGA SUPPORT) I didn't realise that 'supporter' was a thing and thought get_maintainer.pl always reported maintainers as maintainer:. I'll resplit the series with supporters Cc:ed just like maintainers are. Looks like those are the only two I need to pick up. Sorry about that. (This sort of systemic scripting bug is why I did a small tranche first. So thank you very much!) _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2023-02-10 19:27 UTC|newest] Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-02-10 16:47 [PATCH 0/8] MODULE_LICENSE removals, first tranche Nick Alcock 2023-02-10 16:47 ` [PATCH 1/8] kbuild, PCI: generic,versatile: comment out MODULE_LICENSE in non-modules Nick Alcock 2023-02-10 16:47 ` Nick Alcock 2023-02-10 17:36 ` Rob Herring 2023-02-10 17:36 ` Rob Herring 2023-02-10 18:43 ` Nick Alcock 2023-02-10 18:43 ` Nick Alcock 2023-02-13 22:57 ` Bjorn Helgaas 2023-02-13 22:57 ` Bjorn Helgaas 2023-02-14 15:41 ` Nick Alcock 2023-02-14 15:41 ` Nick Alcock 2023-02-14 17:20 ` Bjorn Helgaas 2023-02-14 17:20 ` Bjorn Helgaas 2023-02-16 13:34 ` Nick Alcock 2023-02-16 13:34 ` Nick Alcock 2023-02-10 16:47 ` [PATCH 2/8] kbuild, PCI: mobiveil: " Nick Alcock 2023-02-10 16:47 ` [PATCH 3/8] kbuild, ARM: tegra: " Nick Alcock 2023-02-10 16:47 ` [PATCH 4/8] kbuild, PCI: endpoint: " Nick Alcock 2023-02-10 16:47 ` [PATCH 5/8] kbuild, PCI: hip: " Nick Alcock 2023-02-10 16:47 ` [PATCH 6/8] kbuild, shpchp: " Nick Alcock 2023-02-10 16:47 ` [PATCH 7/8] kbuild, PCI: dwc: histb: " Nick Alcock 2023-02-10 16:47 ` [PATCH 8/8] kbuild, PCI: microchip: " Nick Alcock 2023-02-10 16:47 ` Nick Alcock 2023-02-10 18:27 ` Conor Dooley 2023-02-10 18:27 ` Conor Dooley 2023-02-10 19:26 ` Nick Alcock [this message] 2023-02-10 19:26 ` Nick Alcock 2023-02-10 20:10 ` Conor Dooley 2023-02-10 20:10 ` Conor Dooley 2023-02-12 18:37 ` Leon Romanovsky 2023-02-12 18:37 ` Leon Romanovsky 2023-02-12 19:52 ` Nick Alcock 2023-02-12 19:52 ` Nick Alcock 2023-02-13 15:53 ` Nick Alcock 2023-02-13 15:53 ` Nick Alcock 2023-02-13 16:13 ` Nick Alcock 2023-02-13 16:13 ` Nick Alcock 2023-02-13 16:51 ` Conor Dooley 2023-02-13 16:51 ` Conor Dooley 2023-02-13 17:06 ` Leon Romanovsky 2023-02-13 17:06 ` Leon Romanovsky 2023-02-15 19:06 ` Nick Alcock 2023-02-15 19:06 ` Nick Alcock 2023-02-13 17:30 ` Jonathan Corbet 2023-02-13 17:30 ` Jonathan Corbet 2023-02-13 19:23 ` Leon Romanovsky 2023-02-13 19:23 ` Leon Romanovsky 2023-02-16 12:05 ` Nick Alcock 2023-02-16 12:05 ` Nick Alcock
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=871qmx1fv5.fsf@esperi.org.uk \ --to=nick.alcock@oracle.com \ --cc=conor@kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-modules@vger.kernel.org \ --cc=linux-pci@vger.kernel.org \ --cc=linux-riscv@lists.infradead.org \ --cc=mcgrof@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.