nvme: use define instead of magic value for identify size
authorMinwoo Im <minwoo.im.dev@gmail.com>
Thu, 8 Feb 2018 13:56:31 +0000 (22:56 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Mar 2018 14:53:43 +0000 (08:53 -0600)
commit42595eb7d0095897823b89344e497b69d08d91c1
tree7412b5350e6aa993a9c4338e9dc0ea8f4752778c
parent7bfca0cfe60554faa6e9dafa97a4282fb035576b
nvme: use define instead of magic value for identify size

NVME_IDENTIFY_DATA_SIZE was added to linux/nvme.h by following commit.
  commit 0add5e8e588c ("nvmet: use NVME_IDENTIFY_DATA_SIZE")

Make it use NVME_IDENTIFY_DATA_SIZE define instead of magic value
0x1000 in case of identify data size.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c