[PATCH] nvme: target: allocate ana_state with port

Christoph Hellwig hch at lst.de
Tue Jun 9 22:12:49 PDT 2026


On Tue, Jun 09, 2026 at 12:44:24PM -0600, Keith Busch wrote:
> On Sun, Jun 07, 2026 at 10:12:23PM -0700, Rosen Penev wrote:
> > Use a flexible array member to remove one allocation. Simplifies code
> > slightly.
> 
> Thanks, applied to nvme-7.2.

Btw, given that the array is of fixed size we don't even really the
VLA here.



More information about the Linux-nvme mailing list