[PATCH] nvme-core: init auth ctrl early

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue May 23 01:32:38 PDT 2023


On 5/22/2023 11:58 PM, Christoph Hellwig wrote:
> On Mon, May 22, 2023 at 02:08:13AM -0700, Chaitanya Kulkarni wrote:
>> Ideally, we should avoid adding anything after device's addition to the
>> the system that could result in failure, since current position of the
>> nvme_auth_init_ctrl() adds more code in the error unwind path that can
>> lead to potential bugs which can be avoided.
> 
> Yep.  Can you or some just wade through the other calls as well?

add other patches on the top of this in V2 ..

-ck




More information about the Linux-nvme mailing list