[PATCH v2 0/1] nvme: fix FDP configuration log parsing

From: liuxixin

Date: Tue May 26 2026 - 22:29:56 EST


Hi Keith,

Thanks for the review. v2 uses the minimal bounds fix you suggested:
keep n = NUMFDPC + 1 and compare with >= instead of >.

The descriptor walk validation (dsze == 0 / past end of log) is unchanged
from v1.

## Test plan
- Build: make M=drivers/nvme -j12 (linux-next, verified)

- Repro/validation (lab):
Tested on linux-next 7.1.0-rc4-next-20260521 with QEMU 8.2 nvme-subsys,fdp=on.
With a single FDP configuration (NUMFDPC field 0), forcing fdpcidx=1 triggers
FDP invalid config descriptor list on the unfixed driver, while the fix
rejects it early with FDP index:1 out of range:1 and skips stream
registration.

Thanks,
liuxixin