[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220215035506.GA1663897@dhcp-10-100-145-180.wdc.com>
Date: Mon, 14 Feb 2022 19:55:06 -0800
From: Keith Busch <kbusch@...nel.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: axboe@...com, hch@....de, sagi@...mberg.me,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] nvme: Fix missing error code in
nvme_configure_directives()
On Tue, Feb 15, 2022 at 11:36:32AM +0800, Jiapeng Chong wrote:
> The error code is missing in this code scenario, add the error code
> '-EINVAL' to the return value 'ret'.
>
> Eliminate the follow smatch warning:
>
> drivers/nvme/host/core.c:780 nvme_configure_directives() warn: missing
> error code 'ret'.
Nak, the code is correct as-is, just like it was the previous time you
posted this patch:
http://lists.infradead.org/pipermail/linux-nvme/2021-September/027339.html
Powered by blists - more mailing lists