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 libnvdimm, btt: fix btt_rw_page not returning errors 2017-08-06 19:19:42 -07:00
btt.h
btt_devs.c libnvdimm/btt: Fix a kmemdup failure check 2019-05-16 19:45:05 +02:00
bus.c libnvdimm: Hold reference on parent while scheduling async init 2018-11-21 09:27:34 +01:00
claim.c
core.c
dimm.c
dimm_devs.c
e820.c
Kconfig
label.c libnvdimm, namespace: fix label initialization to use valid seq numbers 2017-11-30 08:37:23 +00:00
label.h
Makefile
namespace_devs.c libnvdimm, namespace: make 'resource' attribute only readable by root 2017-11-30 08:37:23 +00:00
nd-core.h
nd.h
pfn.h
pfn_devs.c
pmem.c
region.c
region_devs.c