]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: move command size checks to the core
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Apr 2019 15:36:52 +0000 (11:36 -0400)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 May 2019 13:18:36 +0000 (09:18 -0400)
commitdfaf0157a0e8f2969db290d2b92241bd0fd0cf68
tree65c9e6912250cc4889af4b036014bf4ac565e47c
parent211e1e1ee1a57f18266f8a92ce3ff5999201786f
nvme: move command size checks to the core

Most command aren't PCIe specific, so move the size checking for them
to core.c

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
drivers/nvme/host/core.c
drivers/nvme/host/pci.c