android_kernel_oneplus_msm8998/drivers/nvdimm
Aditya Pakki 905b8964c9 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>
2019-05-16 19:45:05 +02:00
..
blk.c
btt.c
btt.h
btt_devs.c libnvdimm/btt: Fix a kmemdup failure check 2019-05-16 19:45:05 +02:00
bus.c
claim.c
core.c
dimm.c
dimm_devs.c
e820.c
Kconfig
label.c
label.h
Makefile
namespace_devs.c
nd-core.h
nd.h
pfn.h
pfn_devs.c
pmem.c
region.c
region_devs.c