Re: drivers/nvme/host/auth.c:950 nvme_auth_init_ctrl() warn: missing error code? 'ret'

From: Dan Carpenter
Date: Tue Dec 27 2022 - 12:53:20 EST


On Sun, Dec 25, 2022 at 12:36:07PM +0200, Sagi Grimberg wrote:
> Although I think that for this specific report, we should do a simple
> fix and then make the code look better.

It turned out the code worked fine as-is. It just wasn't clear.

regards,
dan carpenter