[PATCH] nvme-core: init auth ctrl early

Christoph Hellwig hch at lst.de
Mon May 22 23:58:05 PDT 2023


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?



More information about the Linux-nvme mailing list