summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-03-12 11:20:34 +0300
committerDan Williams <dan.j.williams@intel.com>2019-03-23 02:19:54 +0300
commit55c1fc0af29a6c1b92f217b7eb7581a882e0c07c (patch)
treee63fa83ae1ccc403b1330ecc0269c4930e190a87 /init
parent351f339faa308c1c1461314a18c832239a841ca0 (diff)
downloadlinux-55c1fc0af29a6c1b92f217b7eb7581a882e0c07c.tar.xz
libnvdimm/namespace: Fix a potential NULL pointer dereference
In case kmemdup fails, the fix goes to blk_err to avoid NULL pointer dereference. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions