From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFFBA30C63B for ; Wed, 10 Jun 2026 05:12:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781068374; cv=none; b=D3OeJifjaobP6AXpVngHtbchU8Bz/aqABBfaez22+9TQHVqdpEuipxNQ8k8jwvgZxNqVlgr8yVku5oA3kh8tA0o1kctS+1vXXS8kiw1ZkfaowFufVyICrRc180Tndof0+l4Tw0VUcs+OSnW64l8zx88S6PmA2yCN8BrICC8+FKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781068374; c=relaxed/simple; bh=fi+iW+uUrQvca0uDKnzw/LxH38M5VNME6PYTSdhVAYI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hH7vmDEoSLoM4hIcPnFKo/j1Mz3yKpC1A+eXQ+lE7uZvlGzONkmpZqOMtNweyv11xX2x4EVeRUe5uuFlrg7O+lfeN3lT3Z56TmgTEMzWWmd1zrVB2VYVcdnqSVXaGDF9EKpEJEC0801YZ1kZIwYnFabE47SYpFqJC6gOf09vdS0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id D3D8668BEB; Wed, 10 Jun 2026 07:12:49 +0200 (CEST) Date: Wed, 10 Jun 2026 07:12:49 +0200 From: Christoph Hellwig To: Keith Busch Cc: Rosen Penev , linux-nvme@lists.infradead.org, Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni , open list Subject: Re: [PATCH] nvme: target: allocate ana_state with port Message-ID: <20260610051249.GB559@lst.de> References: <20260608051223.6884-1-rosenp@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) 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.