Skip to content
Commit ecfb6d8a authored by Dan Williams's avatar Dan Williams
Browse files

libnvdimm: fix devm_nvdimm_memremap() error path



The internal alloc_nvdimm_map() helper might fail, particularly if the
memory region is already busy.  Report request_mem_region() failures and
check for the failure.

Reported-by: default avatarRyan Chen <ryan.chan105@gmail.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 9d15ce9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment