linux-stable/drivers
Nick Alcock 92a7229782 drivers: bus: simple-pm-bus: remove MODULE_LICENSE in non-modules
Since commit 8b41fc4454 ("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.

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: Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
2023-04-13 13:13:54 -07:00
..
accel
accessibility braille_console: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
acpi More ACPI updates for 6.3-rc1 2023-03-03 10:36:01 -08:00
amba ARM: tegra: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
android
ata ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller" 2023-03-03 18:43:02 +09:00
atm
auxdisplay
base A set of updates for the interrupt susbsystem: 2023-03-05 11:19:16 -08:00
bcma
block block-6.3-2023-03-03 2023-03-03 10:21:39 -08:00
bluetooth
bus drivers: bus: simple-pm-bus: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:54 -07:00
cdrom
char
clk clk: microchip: mpfs: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
clocksource clocksource: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:51 -07:00
comedi
connector
counter
cpufreq More power management updates for 6.3-rc1 2023-03-03 10:30:58 -08:00
cpuidle
crypto This push fixes a regression in the caam driver. 2023-03-05 11:32:30 -08:00
cxl
dax
dca
devfreq
dio
dma dmaengine: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:51 -07:00
dma-buf dma-buf: heaps: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:52 -07:00
edac EDAC, altera: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
eisa
extcon
firewire
firmware MIPS: BCM47XX: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:51 -07:00
fpga
fsi
gnss
gpio
gpu drm-next-fixes for 6.3-rc1 2023-03-02 15:08:54 -08:00
greybus
hid
hsi
hte
hv
hwmon
hwspinlock hwspinlock: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:52 -07:00
hwtracing
i2c i2c: gxp: fix an error code in probe 2023-03-03 21:00:54 +01:00
i3c
idle
iio
infiniband dyndbg: cleanup dynamic usage in ib_srp.c 2023-03-19 13:25:20 -07:00
input
interconnect
iommu iommu/sun50i: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:52 -07:00
ipack
irqchip irqchip: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
isdn
leds
macintosh
mailbox mailbox: zynq: make modular 2023-04-13 13:13:52 -07:00
mcb
md
media
memory
memstick
message
mfd mfd: altera-sysmgr: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
misc
mmc
most
mtd
mux
net
nfc
ntb
nubus
nvdimm
nvme block-6.3-2023-03-03 2023-03-03 10:21:39 -08:00
nvmem nvmem: core: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:52 -07:00
of
opp
parisc
parport
pci A set of updates for the interrupt susbsystem: 2023-03-05 11:19:16 -08:00
pcmcia
peci
perf drivers/perf: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
phy phy: intel: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:52 -07:00
pinctrl pinctrl: renesas: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
platform
pnp
power power: reset: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
powercap More power management updates for 6.3-rc1 2023-03-03 10:30:58 -08:00
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: Fixes for v6.3 2023-03-02 09:21:25 -08:00
remoteproc remoteproc: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
reset reset: mpfs: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
rpmsg
rtc RTC for 6.3 2023-03-03 09:15:50 -08:00
s390 SCSI misc on 20230303 2023-03-03 14:41:50 -08:00
sbus
scsi SCSI misc on 20230303 2023-03-03 14:41:50 -08:00
sh
siox
slimbus
soc soc/tegra: cbb: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
soundwire
spi spi: Fixes for v6.3 2023-03-02 09:25:38 -08:00
spmi
ssb
staging
target
tc
tee
thermal More thermal control updates for 6.3-rc1 2023-03-03 10:41:59 -08:00
thunderbolt
tty
ufs SCSI misc on 20230303 2023-03-03 14:41:50 -08:00
uio
usb
vdpa
vfio
vhost
video video: fbdev: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:51 -07:00
virt
virtio
vlynq
w1
watchdog linux-watchdog 6.3-rc1 tag 2023-03-02 11:12:01 -08:00
xen
zorro
Kconfig
Makefile