From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 0A9D63EB0FD for ; Tue, 9 Jun 2026 18:44:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781030667; cv=none; b=riKZ09LAaA6OM8mzEOSGBhuj/T4HjJ/twN1dU+ltgQZJMTFdQXrMeVvja0NSyzjpXEr4d6dXvbIkm1HNU2OIfuk7qHWZYoinEvtsnrYd1epxgF5PHrAEtzHq9rusofYNkWr/tTS9QIJ9AZyks8J9mU+drI4UQh9hwTqLpyN5GnM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781030667; c=relaxed/simple; bh=yzpBdmqR00NJXRV/QMHlb7IZINX0y728JCMjvxooZiA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tRi6HZ8zzvcwkM4LoXnxOZwcahMuAgdwSplhXao89XIfE5xDh9Q5qoeqArsw06oradSPIvgmxIpP9Lv9fdI3xvoGSId4APrqDwae8rL1ur/SwCTHCoVd37NOMiHzIpvsJZ82CMVBN8qd0pPp85WEvxtIHHCt6s+Lt2SXxesIXC4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UiYAFwCZ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UiYAFwCZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 565DA1F00893; Tue, 9 Jun 2026 18:44:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781030666; bh=yzpBdmqR00NJXRV/QMHlb7IZINX0y728JCMjvxooZiA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=UiYAFwCZ88XQ6mfPAuSpviquDL2BdwgLXK3Gw7OenlQ57aOkHTKddKRzdc9QiG3i3 oyEjOSiFjNdjEc+sxJMoDlFBSpgszzK7ZbAydWYGI12mKlGpP1HXH6Vc1aI/ppOUIf UZpsCeRQsOfb184XweZufdawiBeyRlgo23hOiiNh0Fs1PIKFADnqq8R+JmqUJXIAcS Qli42DOQbTL2+TA4ukIImI5dsRDtLePw+Q7sBaMMjkKznpOgqR+ArVqr9e7ThWAINw 9zBigr9CFuK50Be6Qvft7I1zUsPFWZkgVTMIeS7aFD/Q+tIOxEMUPIPu69Or7GuQTc GFKXaGfj0TJZA== Date: Tue, 9 Jun 2026 12:44:24 -0600 From: Keith Busch To: Rosen Penev Cc: 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: 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: <20260608051223.6884-1-rosenp@gmail.com> 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.