summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2019-03-25 16:55:27 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 19:45:05 +0200
commit905b8964c9d973e64e3dd0c64e62c207c13df4db (patch)
treef85516dc2bc413d1676e38656c5fb29f12e1e631 /drivers/s390
parent3007ae4bbf26d56c00daac692a6aba97ca8c31fc (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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions