[PATCH] nvme: Annotate struct nvme_dhchap_key with __counted_by

Keith Busch kbusch at kernel.org
Tue Mar 10 07:48:46 PDT 2026


On Tue, Mar 10, 2026 at 03:20:49PM +0100, Christoph Hellwig wrote:
> On Tue, Mar 03, 2026 at 10:31:01PM +0100, Thorsten Blum wrote:
> > Add the __counted_by() compiler attribute to the flexible array member
> > 'key' to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> > CONFIG_FORTIFY_SOURCE.

Thanks, applied.



More information about the Linux-nvme mailing list