]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Use pr_warn_once() for ACS parameter parse failure
authorRichard Cheng <icheng@nvidia.com>
Thu, 12 Mar 2026 11:54:41 +0000 (19:54 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 12 Mar 2026 21:51:07 +0000 (16:51 -0500)
commit0026bb20d12531ca2925b60bf081cc8be910ccf9
tree11247f572296d2b96315164ad0578dfffc6c6f5d
parent0111d600f0f456d09eb0ff6ac217fa5f30ae79ab
PCI: Use pr_warn_once() for ACS parameter parse failure

When the ACS command line parameter cannot be parsed, the kernel skips
applying the requested ACS override. This indicates an invalid boot
parameter and should not be logged at informational level.

Use pr_warn_once() so the message is surfaced as a warning while still
avoiding repeated log spam during device enumeration.

Signed-off-by: Richard Cheng <icheng@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tushar Dave <tdave@nvidia.com>
Link: https://patch.msgid.link/20260312115441.8168-1-icheng@nvidia.com
drivers/pci/pci.c