diff options
author | Dan Williams | 2018-10-05 01:32:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-11-13 20:08:42 +0100 |
commit | 6c1400b39151625c356e84d44c9e9bfb67109dbd (patch) | |
tree | e9d7faec8652e8aa462f15a44aa5c618c99d98a9 /sound/soc/intel/skylake/skl-topology.c | |
parent | libnvdimm, region: Fail badblocks listing for inactive regions (diff) | |
download | kernel-qcow2-linux-6c1400b39151625c356e84d44c9e9bfb67109dbd.tar.gz kernel-qcow2-linux-6c1400b39151625c356e84d44c9e9bfb67109dbd.tar.xz kernel-qcow2-linux-6c1400b39151625c356e84d44c9e9bfb67109dbd.zip |
libnvdimm, pmem: Fix badblocks population for 'raw' namespaces
commit 91ed7ac444ef749603a95629a5ec483988c4f14b upstream.
The driver is only initializing bb_res in the devm_memremap_pages()
paths, but the raw namespace case is passing an uninitialized bb_res to
nvdimm_badblocks_populate().
Fixes: e8d513483300 ("memremap: change devm_memremap_pages interface...")
Cc: <stable@vger.kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Reported-by: Jacek Zloch <jacek.zloch@intel.com>
Reported-by: Krzysztof Rusocki <krzysztof.rusocki@intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.c')
0 files changed, 0 insertions, 0 deletions