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 /kernel/sysctl.c | |
parent | 466d1493ea830789a2f063f478aaed2e324f0d3d (diff) | |
download | linux-8d0d8ed3356aa9ed43b819aaedd39b08ca453007.tar.bz2 |
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 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions