diff options
| author | Dan Williams <[email protected]> | 2016-09-21 16:22:33 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2016-09-21 16:35:15 +0000 |
| commit | ecfb6d8a041cc2ca80bc69ffc20c00067d190df5 (patch) | |
| tree | 24f28c0e055e608a45f95af056254df5a4aa297d /net/switchdev/switchdev.c | |
| parent | tools/testing/nvdimm: fix allocation range for mock flush hint tables (diff) | |
| download | kernel-ecfb6d8a041cc2ca80bc69ffc20c00067d190df5.tar.gz kernel-ecfb6d8a041cc2ca80bc69ffc20c00067d190df5.zip | |
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 <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
