* Re: [PATCH] nvme: Annotate struct nvme_dhchap_key with __counted_by
[not found] <20260303213102.86585-1-thorsten.blum@linux.dev>
@ 2026-03-10 14:20 ` Christoph Hellwig
2026-03-10 14:48 ` Keith Busch
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2026-03-10 14:20 UTC (permalink / raw)
To: Thorsten Blum
Cc: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
Hannes Reinecke, Kees Cook, Gustavo A. R. Silva, linux-nvme,
linux-kernel, linux-hardening
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.
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] nvme: Annotate struct nvme_dhchap_key with __counted_by
2026-03-10 14:20 ` [PATCH] nvme: Annotate struct nvme_dhchap_key with __counted_by Christoph Hellwig
@ 2026-03-10 14:48 ` Keith Busch
0 siblings, 0 replies; 2+ messages in thread
From: Keith Busch @ 2026-03-10 14:48 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Thorsten Blum, Jens Axboe, Sagi Grimberg, Hannes Reinecke,
Kees Cook, Gustavo A. R. Silva, linux-nvme, linux-kernel,
linux-hardening
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-10 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260303213102.86585-1-thorsten.blum@linux.dev>
2026-03-10 14:20 ` [PATCH] nvme: Annotate struct nvme_dhchap_key with __counted_by Christoph Hellwig
2026-03-10 14:48 ` Keith Busch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox