aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2021-10-15 14:29:58 -0700
committerDan Williams <[email protected]>2021-10-29 11:53:51 -0700
commitca76a3a8052b71c0334d5c094859cfa340c290a8 (patch)
tree1f5ded408b2898c676f4397f937d6a082010a1e0 /scripts/gdb/linux/utils.py
parentd22fed9c2b70d8ccc91c9a56ed2df2c1a0c2ebab (diff)
cxl/pci: Fix NULL vs ERR_PTR confusion
cxl_pci_map_regblock() may return an ERR_PTR(), but cxl_pci_setup_regs() is only prepared for NULL as the error case. Pick the minimal fix for -stable backport purposes and just have cxl_pci_map_regblock() return NULL for errors. Fixes: f8a7e8c29be8 ("cxl/pci: Reserve all device regions at once") Cc: <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/163433325724.834522.17809774578178224149.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions