android_kernel_xiaomi_sm7250/drivers/nvdimm
Aneesh Kumar K.V ee37d219a1 libnvdimm: Fix endian conversion issues
commit 86aa66687442ef45909ff9814b82b4d2bb892294 upstream.

nd_label->dpa issue was observed when trying to enable the namespace created
with little-endian kernel on a big-endian kernel. That made me run
`sparse` on the rest of the code and other changes are the result of that.

Fixes: d9b83c7569 ("libnvdimm, btt: rework error clearing")
Fixes: 9dedc73a4658 ("libnvdimm/btt: Fix LBA masking during 'free list' population")
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Link: https://lore.kernel.org/r/20190809074726.27815-1-aneesh.kumar@linux.ibm.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-07 13:17:53 +02:00
..
badrange.c
blk.c
btt_devs.c libnvdimm/btt: Fix LBA masking during 'free list' population 2020-05-27 17:37:39 +02:00
btt.c libnvdimm: Fix endian conversion issues 2020-06-07 13:17:53 +02:00
btt.h libnvdimm/btt: Fix LBA masking during 'free list' population 2020-05-27 17:37:39 +02:00
bus.c
claim.c
core.c
dax_devs.c
dimm_devs.c
dimm.c
e820.c
Kconfig
label.c
label.h
Makefile
namespace_devs.c libnvdimm: Fix endian conversion issues 2020-06-07 13:17:53 +02:00
nd-core.h
nd.h
of_pmem.c
pfn_devs.c
pfn.h
pmem.c
pmem.h
region_devs.c
region.c