diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-09-21 09:22:33 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-09-21 09:35:15 -0700 |
commit | ecfb6d8a041cc2ca80bc69ffc20c00067d190df5 (patch) | |
tree | 24f28c0e055e608a45f95af056254df5a4aa297d /drivers/hid | |
parent | 9d15ce9caaf9ecbec74e3be156a4a57451ed16c2 (diff) | |
download | op-kernel-dev-ecfb6d8a041cc2ca80bc69ffc20c00067d190df5.zip op-kernel-dev-ecfb6d8a041cc2ca80bc69ffc20c00067d190df5.tar.gz |
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: Ryan Chen <ryan.chan105@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions