mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02:00
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:
|
||
|---|---|---|
| .. | ||
| core | ||
| acpi.c | ||
| cxl.h | ||
| cxlmem.h | ||
| Kconfig | ||
| Makefile | ||
| pci.c | ||
| pci.h | ||
| pmem.c | ||