nvme: cleanup the nvme_init_integrity calling conventions
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Mar 2024 14:04:49 +0000 (07:04 -0700)
committerKeith Busch <kbusch@kernel.org>
Mon, 4 Mar 2024 16:24:55 +0000 (08:24 -0800)
commitf467b48e38a60c64d73619145247c550d8edf82f
treebd2038f45f0cfbb3c20dd819492cc8befeb9138c
parentf404dd928b6667b383e684f2bd8cce507e031481
nvme: cleanup the nvme_init_integrity calling conventions

Handle the no metadata support case in nvme_init_integrity as well to
simplify the calling convention and prepare for future changes in the
area.

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