[PATCH 0/8] MODULE_LICENSE removals, first tranche

From: Nick Alcock
Date: Fri Feb 10 2023 - 11:58:02 EST


This series, based on current modules-next, is part of a treewide cleanup
suggested by Luis Chamberlain, to remove the LICENSE_MODULE usage from
files/objects that are not tristate. Due to recent changes to kbuild, these
uses are now problematic. See the commit logs for more details.

This is a small initial tranche to see if the general approach is valid:
larger tranches can follow if desired and if these patches seem OK.
(In total, there are 123 patches.)


The series at a whole can be found here:
https://github.com/nickalcock/linux module-license

The kallsyms series is at https://github.com/nickalcock/linux kallsyms

The tristate checker used to put this series together (not for upstreaming yet,
and not necessary for any of this to work) is at
https://github.com/nickalcock/linux tristate-checker

Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
Cc: linux-modules@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx

Nick Alcock (8):
kbuild, PCI: generic,versatile: comment out MODULE_LICENSE in
non-modules
kbuild, PCI: mobiveil: comment out MODULE_LICENSE in non-modules
kbuild, ARM: tegra: comment out MODULE_LICENSE in non-modules
kbuild, PCI: endpoint: comment out MODULE_LICENSE in non-modules
kbuild, PCI: hip: comment out MODULE_LICENSE in non-modules
kbuild, shpchp: comment out MODULE_LICENSE in non-modules
kbuild, PCI: dwc: histb: comment out MODULE_LICENSE in non-modules
kbuild, PCI: microchip: comment out MODULE_LICENSE in non-modules

drivers/pci/controller/dwc/pcie-histb.c | 2 +-
drivers/pci/controller/mobiveil/pcie-mobiveil-plat.c | 2 +-
drivers/pci/controller/pci-tegra.c | 2 +-
drivers/pci/controller/pci-versatile.c | 2 +-
drivers/pci/controller/pcie-hisi-error.c | 2 +-
drivers/pci/controller/pcie-microchip-host.c | 2 +-
drivers/pci/endpoint/pci-ep-cfs.c | 2 +-
drivers/pci/endpoint/pci-epc-core.c | 2 +-
drivers/pci/endpoint/pci-epc-mem.c | 2 +-
drivers/pci/endpoint/pci-epf-core.c | 2 +-
drivers/pci/hotplug/shpchp_core.c | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)

--
2.39.1.268.g9de2f9a303