linux/drivers/pci
Kees Cook 3a2c4d55e3 treewide: refresh kmalloc_obj() conversions
This is another run of the Coccinelle script for converting kmalloc()
family of allocations to kmalloc_obj() via the existing rules in
scripts/coccinelle/api/kmalloc_objs.cocci

This catches both the set of kmalloc() uses added since the first
kmalloc_obj() conversions in v7.0 and adds a large group missed in the
first pass due to Coccinelle not interacting well with the cleanup.h
scoped_...() family of macros[1]. I worked around this with spatch's
"--macro-file" argument to a file with all the scoped_...() macros mapped
to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control
flow indicator I could find.

Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc,
riscv, and s390 with no new warnings.

Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1]
Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2]
Signed-off-by: Kees Cook <kees+treewide@kernel.org>
2026-09-04 21:37:00 -07:00
..
controller hyperv-next for v7.3-rc1 2026-08-26 16:47:40 -07:00
endpoint treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
hotplug pci-v7.3-changes 2026-08-23 12:44:10 -07:00
msi PCI/MSI: Enable memory decoding before restoring MSI-X messages 2026-08-12 17:27:13 -05:00
pcie Merge branch 'pci/controller/dwc' 2026-08-21 16:40:41 -05:00
pwrctrl power sequencing updates for v7.3-rc1 2026-08-26 08:45:09 -07:00
switch
access.c
ats.c
bus.c
devres.c
doe.c
ecam.c
host-bridge.c
ide.c
iomap.c
iov.c
irq.c
Kconfig
Makefile
mmap.c
npem.c
of_property.c
of.c PCI: Add support for PCIe WAKE# interrupt 2026-08-11 18:54:17 -05:00
p2pdma.c
pci-acpi.c
pci-bridge-emul.c
pci-bridge-emul.h
pci-driver.c
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c pci-v7.3-changes 2026-08-23 12:44:10 -07:00
pci.c pci-v7.3-changes 2026-08-23 12:44:10 -07:00
pci.h Merge branch 'pci/controller/dwc' 2026-08-21 16:40:41 -05:00
probe.c PCI: Add support for PCIe WAKE# interrupt 2026-08-11 18:54:17 -05:00
proc.c
quirks.c Merge branch 'pci/virtualization' 2026-08-21 16:40:38 -05:00
rebar.c
remove.c PCI: Add support for PCIe WAKE# interrupt 2026-08-11 18:54:17 -05:00
rom.c
search.c
setup-bus.c
setup-cardbus.c
setup-res.c
slot.c PCI: Allow per function PCI slots to fix slot reset on s390 2026-08-12 17:12:48 -05:00
syscall.c
tph.c
trace.c
tsm.c
vc.c
vgaarb.c
vpd.c
xen-pcifront.c