Revision 7206d58a3a538c80b36305d1904de313cf47ef4c authored by Gustavo A. R. Silva on 27 October 2020, 06:33:56 UTC, committed by Gustavo A. R. Silva on 30 October 2020, 21:57:42 UTC
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. [1] https://en.wikipedia.org/wiki/Flexible_array_member [2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
1 parent 2905620
File | Mode | Size |
---|---|---|
controller | ||
endpoint | ||
hotplug | ||
pcie | ||
switch | ||
Kconfig | -rw-r--r-- | 7.1 KB |
Makefile | -rw-r--r-- | 1.2 KB |
access.c | -rw-r--r-- | 14.8 KB |
ats.c | -rw-r--r-- | 11.0 KB |
bus.c | -rw-r--r-- | 10.2 KB |
ecam.c | -rw-r--r-- | 4.4 KB |
host-bridge.c | -rw-r--r-- | 2.4 KB |
iov.c | -rw-r--r-- | 24.9 KB |
irq.c | -rw-r--r-- | 2.4 KB |
mmap.c | -rw-r--r-- | 2.6 KB |
msi.c | -rw-r--r-- | 39.5 KB |
of.c | -rw-r--r-- | 15.9 KB |
p2pdma.c | -rw-r--r-- | 25.6 KB |
pci-acpi.c | -rw-r--r-- | 35.0 KB |
pci-bridge-emul.c | -rw-r--r-- | 11.8 KB |
pci-bridge-emul.h | -rw-r--r-- | 3.3 KB |
pci-driver.c | -rw-r--r-- | 41.7 KB |
pci-label.c | -rw-r--r-- | 7.3 KB |
pci-mid.c | -rw-r--r-- | 1.6 KB |
pci-pf-stub.c | -rw-r--r-- | 1.2 KB |
pci-stub.c | -rw-r--r-- | 2.3 KB |
pci-sysfs.c | -rw-r--r-- | 38.0 KB |
pci.c | -rw-r--r-- | 172.7 KB |
pci.h | -rw-r--r-- | 21.8 KB |
probe.c | -rw-r--r-- | 84.1 KB |
proc.c | -rw-r--r-- | 9.5 KB |
quirks.c | -rw-r--r-- | 196.8 KB |
remove.c | -rw-r--r-- | 3.7 KB |
rom.c | -rw-r--r-- | 5.3 KB |
search.c | -rw-r--r-- | 12.2 KB |
setup-bus.c | -rw-r--r-- | 59.0 KB |
setup-irq.c | -rw-r--r-- | 1.6 KB |
setup-res.c | -rw-r--r-- | 12.7 KB |
slot.c | -rw-r--r-- | 9.7 KB |
syscall.c | -rw-r--r-- | 2.8 KB |
vc.c | -rw-r--r-- | 12.0 KB |
vpd.c | -rw-r--r-- | 16.0 KB |
xen-pcifront.c | -rw-r--r-- | 27.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...