]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvmet: use NVME_IDENTIFY_DATA_SIZE
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 7 Jun 2017 09:45:29 +0000 (11:45 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Jun 2017 12:30:15 +0000 (14:30 +0200)
commit0add5e8e588c65c5ac6a3255f624260bf889128d
tree8acdd55b63571d59d07598e3e99dc9765de97922
parent0945e56994ac855d01c4aecf69bded65c751b894
nvmet: use NVME_IDENTIFY_DATA_SIZE

Use NVME_IDENTIFY_DATA_SIZE define instead of hard coding the magic
4096 value.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Hannes Reinecke <hare@suse.com>
[hch: converted three more users]
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/lightnvm.c
drivers/nvme/host/pci.c
drivers/nvme/target/admin-cmd.c
drivers/nvme/target/discovery.c
include/linux/nvme.h