]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: cleanup __nvme_check_ids
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Feb 2022 09:57:15 +0000 (10:57 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:45:06 +0000 (13:45 +0200)
commit197a87b339a4e2a7b5152cf4fa9104a175c61417
treec2f5fd574a46f8f8b588aafca860705c353f7dfa
parent4a46655a27b04dce12cffca0ad60c8600a980909
nvme: cleanup __nvme_check_ids

Pass the actual nvme_ns_ids used for the comparison instead of the
ns_head that isn't needed and use a more descriptive function name.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
drivers/nvme/host/core.c