summaryrefslogtreecommitdiff
path: root/tools/perf/examples/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@auroraos.dev>2026-01-27 23:39:42 +0300
committerBjorn Helgaas <bhelgaas@google.com>2026-01-29 12:29:20 -0600
commitf7245901de8978d829f80b3d8e36ed9a8fd18049 (patch)
treef80566288d698ea1a6053132d8f7cecb3591b291 /tools/perf/examples/git@git.tavy.me:linux.git
parent959ac08a2c2811305be8c2779779e8b0932e5a99 (diff)
PCI: Check parent for NULL in of_pci_bus_release_domain_nr()
of_pci_bus_find_domain_nr() allows its parent parameter to be NULL but of_pci_bus_release_domain_nr() (that undoes its effect) doesn't -- that means it's going to blow up while calling of_get_pci_domain_nr() if the parent parameter indeed happens to be NULL. Add the missing NULL check. Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool. Fixes: c14f7ccc9f5d ("PCI: Assign PCI domain IDs by ida_alloc()") Signed-off-by: Sergey Shtylyov <s.shtylyov@auroraos.dev> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260127203944.28588-1-s.shtylyov@auroraos.dev
Diffstat (limited to 'tools/perf/examples/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions