]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvme: multipath: fix return value of nvme_available_path
authorUday Shankar <ushankar@purestorage.com>
Fri, 4 Apr 2025 20:06:43 +0000 (14:06 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:50:59 +0000 (07:50 +0200)
commit0cf5fd802452b41c9ac3e96abcb80d12af2d82b6
tree0aaeaaa0464150779a3412ba8bcba6cff98260cc
parent60ed102378a31f423e19b16f03439b60be489b37
nvme: multipath: fix return value of nvme_available_path

[ Upstream commit e3105f54a51554fb1bbf19dcaf93c4411d2d6c8a ]

The function returns bool so we should return false, not NULL. No
functional changes are expected.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/multipath.c