nvme: define constants for identification values
authorKeith Busch <kbusch@kernel.org>
Fri, 3 Apr 2020 17:53:46 +0000 (10:53 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:18:36 +0000 (16:18 -0600)
commit92decf118f1da4c866515f80387f9cf4d48611d6
treefbddb687160f0cb1b8da80b012bb4fb3e140af18
parentd02abd198633a4c40411b9a5994111452720470d
nvme: define constants for identification values

Improve code readability by defining the specification's constants that
the driver is using when decoding identification payloads.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Bart van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
drivers/nvme/host/multipath.c
include/linux/nvme.h