PCI: ibmphp: Make read-only arrays static
authorColin Ian King <colin.i.king@gmail.com>
Tue, 27 Jun 2023 12:56:12 +0000 (13:56 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 18 Jul 2023 21:52:41 +0000 (16:52 -0500)
commit5810ab21860538bce22acb6f9bb74086e493a7e2
tree78b100f1f11bd98bdab94236b4f554b20cc1db40
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
PCI: ibmphp: Make read-only arrays static

Don't populate the arrays on the stack; instead make them static const.

Link: https://lore.kernel.org/r/20230627125612.724764-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/ibmphp_pci.c