opnsense-src/sys/dev/pci
Andrew Turner 0496539fe3 pci: Fix pci_host_generic_acpi with gcc
In pci_host_generic_acpi.c we loop over pci_acpi_quirks to check if
we need to handle any quirks. GCC doesn't like the terminatin as it
sets a fixed width string to 0.

As this the array is only ever used in this file change to use nitems
to find when to stop the loop.

Reviewed by:	brooks, imp, jhb, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45265

(cherry picked from commit f55e866488ba2d8bb5b79659ee84bec1fe7808fb)
2024-07-15 12:27:37 +00:00
..
controller
fixup_pci.c
hostb_pci.c
ignore_pci.c
isa_pci.c
pci.c
pci_dw.c
pci_dw.h
pci_dw_if.m
pci_dw_mv.c
pci_host_generic.c
pci_host_generic.h
pci_host_generic_acpi.c pci: Fix pci_host_generic_acpi with gcc 2024-07-15 12:27:37 +00:00
pci_host_generic_acpi.h
pci_host_generic_den0115.c
pci_host_generic_fdt.c
pci_host_generic_fdt.h
pci_if.m
pci_iov.c
pci_iov.h
pci_iov_if.m
pci_iov_private.h
pci_iov_schema.c
pci_pci.c
pci_private.h
pci_subr.c
pci_user.c
pcib_if.m
pcib_private.h
pcib_support.c
pcireg.h
pcivar.h
schema_private.h
vga_pci.c