]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbba907d10c5707760e8889702402cbcd1dbd02ed
treefbddb687160f0cb1b8da80b012bb4fb3e140af18
parentb03b19d2ce0481beafcafde11138668acd6f621d
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