diff options
author | Duoming Zhou <[email protected]> | 2024-03-03 18:57:29 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-05-02 17:15:01 -0500 |
commit | e6f7d27df5d208b50cae817a91d128fb434bb12c (patch) | |
tree | a778aa2472193bd5180b209b52ca0aa167a76a2d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) |
PCI: of_property: Return error for int_map allocation failure
Return -ENOMEM from of_pci_prop_intr_map() if kcalloc() fails to prevent a
NULL pointer dereference in this case.
Fixes: 407d1a51921e ("PCI: Create device tree node for bridge")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Duoming Zhou <[email protected]>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions