diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-04-02 16:49:30 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-04-02 16:49:30 -0700 |
commit | 8d0d8ed3356aa9ed43b819aaedd39b08ca453007 (patch) | |
tree | 12ea65fd3b4a177e9e503a527c0ff3571ca20bfe /drivers/nvdimm/region_devs.c | |
parent | 466d1493ea830789a2f063f478aaed2e324f0d3d (diff) | |
download | linux-stable-8d0d8ed3356aa9ed43b819aaedd39b08ca453007.tar.gz linux-stable-8d0d8ed3356aa9ed43b819aaedd39b08ca453007.tar.bz2 linux-stable-8d0d8ed3356aa9ed43b819aaedd39b08ca453007.zip |
nfit: fix region registration vs block-data-window ranges
Commit 1cf03c00e7c1 "nfit: scrub and register regions in a workqueue"
mistakenly attempts to register a region per BLK aperture. There is
nothing to register for individual apertures as they belong as a set to
a BLK aperture group that are registered with a corresponding
DIMM-control-region. Filter them for registration to prevent some
needless devm_kzalloc() allocations.
Cc: <stable@vger.kernel.org>
Fixes: 1cf03c00e7c1 ("nfit: scrub and register regions in a workqueue")
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/region_devs.c')
0 files changed, 0 insertions, 0 deletions