nvme-pci: check more command sizes
authorMinwoo Im <minwoo.im.dev@gmail.com>
Thu, 11 Apr 2019 15:18:32 +0000 (00:18 +0900)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 May 2019 13:17:27 +0000 (09:17 -0400)
commita97234e1ff1ec9d5a41c6adff5632c61639dee6a
treeca637cb6019d6dd4f511931d35bf589bdfe45528
parent665648673ef5384c7194ea6df4b55f2da98646cf
nvme-pci: check more command sizes

All the NVMe command has 64bytes fixed size so that it has been assured
with BUILD_BUG_ON().  The remaining command structures in linux/nvme.h
also need to be checked here.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c