nvme: split out a nvme_identify_ns_nvm helper
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Mar 2024 14:04:55 +0000 (07:04 -0700)
committerKeith Busch <kbusch@kernel.org>
Mon, 4 Mar 2024 16:24:56 +0000 (08:24 -0800)
commitc6fce9f12764c11ab6ff34f4cb0dec06d4d87099
tree9d04791fa39ae5ea7c45e9d8c534915e23b6e599
parent46e7422cda8482aa3074c9caf4c224cf2fb74d71
nvme: split out a nvme_identify_ns_nvm helper

Split the logic to query the Identify Namespace Data Structure, NVM
Command Set into a separate helper.

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