nvmet: use macro definition for setting nmic value
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Thu, 23 Sep 2021 10:17:43 +0000 (13:17 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 20 Oct 2021 17:16:02 +0000 (19:16 +0200)
commit571b5444d1eee112e82eebd0cf877dc510b8b5a5
treefaf9a5041bef934e801d9f9386092a213225c3a2
parente5ea42faa773c6a6bb5d9e9f5c2cc808940b5a55
nvmet: use macro definition for setting nmic value

This makes the code more readable.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/admin-cmd.c