[PATCH v3] nvme: nvme_identify_ns_descs: prevent oob

Keith Busch kbusch at kernel.org
Tue Dec 2 12:34:01 PST 2025


On Tue, Dec 02, 2025 at 11:30:04PM +0300, Eugene Korenevsky wrote:
> OK, tried to make the patch as close as possible to previous code.
> See v4.

Yep, I saw. Mostly looks good to me.
 
> Also, adding 'pos += len' to modified `for` makes the line longer
> than 80 symbols. However, checkpatch.pl says it is OK. Let me know
> if it should be fixed somehow (e.g. by moving 'pos += len' to the
> end of loop compound statement).

The convention for this driver is to wrap lines at 80 characters. But
don't worry about sending a new version for just that; I can fix that
when applying.



More information about the Linux-nvme mailing list