[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250407143440.GA12127@lst.de>
Date: Mon, 7 Apr 2025 16:34:40 +0200
From: Christoph Hellwig <hch@....de>
To: Uday Shankar <ushankar@...estorage.com>
Cc: Keith Busch <kbusch@...nel.org>, Jens Axboe <axboe@...nel.dk>,
Christoph Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
Hannes Reinecke <hare@...nel.org>
Subject: Re: [PATCH] nvme: multipath: fix return value of
nvme_available_path
On Fri, Apr 04, 2025 at 02:06:43PM -0600, Uday Shankar wrote:
> The function returns bool so we should return false, not NULL. No
> functional changes are expected.
Thanks,
applied to nvme-6.15.
I'm a bit surprised this didn't generate a sparse warning similar to
when 0 is used in pointer context, but I guess that is because of the
implicit conversion of boolean expressions to the bool type.
Powered by blists - more mailing lists