summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorliuxixin <gliuxen@gmail.com>2026-05-28 18:00:01 +0800
committerKeith Busch <kbusch@kernel.org>2026-06-02 05:20:57 -0700
commit0967074f6830718fd2597404ef119bddd0dbfd00 (patch)
tree5d033fb970630a62b79dc5b0608f58e470f92128 /include/linux
parent8757fd9500cf2fd9b27451cb6eb7e28003c3d202 (diff)
nvme: fix FDP fdpcidx bounds check
The fdpcidx bounds check sets n = NUMFDPC + 1 but used > instead of >=, incorrectly accepting fdp_idx when it equals n (i.e. NUMFDPC + 1). Fixes: 30b5f20bb2dd ("nvme: register fdp parameters with the block layer") Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: liuxixin <gliuxen@gmail.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions