commit | 32423424a8cf4ff4ec3fe59b0d53d026a074317e | [log] [tgz] |
---|---|---|
author | Aditya Pakki <pakki001@umn.edu> | Mon Mar 25 16:55:27 2019 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 16 19:42:20 2019 +0200 |
tree | ab633fcbbe2d15f4d2d7c0af735614e7107210a0 | |
parent | 581fabcf7e0004caabcaad2a866cbd17c2b544b8 [diff] |
libnvdimm/btt: Fix a kmemdup failure check [ Upstream commit 486fa92df4707b5df58d6508728bdb9321a59766 ] In case kmemdup fails, the fix releases resources and returns to avoid the NULL pointer dereference. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>