aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorChris Ye <[email protected]>2022-06-01 00:09:54 +0000
committerDan Williams <[email protected]>2022-06-24 18:57:19 +0000
commitef9102004a87cb3f8b26e000a095a261fc0467d3 (patch)
tree48ed6a2026e49edcda4ae2ec06a5ca962eaa2d08 /scripts/clang-tools/gen_compile_commands.py
parentLinux 5.19-rc3 (diff)
downloadkernel-ef9102004a87cb3f8b26e000a095a261fc0467d3.tar.gz
kernel-ef9102004a87cb3f8b26e000a095a261fc0467d3.zip
nvdimm: Fix badblocks clear off-by-one error
nvdimm_clear_badblocks_region() validates badblock clearing requests against the span of the region, however it compares the inclusive badblock request range to the exclusive region range. Fix up the off-by-one error. Fixes: 23f498448362 ("libnvdimm: rework region badblocks clearing") Cc: <[email protected]> Signed-off-by: Chris Ye <[email protected]> Reviewed-by: Vishal Verma <[email protected]> Link: https://lore.kernel.org/r/165404219489.2445897.9792886413715690399.stgit@dwillia2-xfh Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions