]> 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)
commit1c3de99a925c1e3e8d23ee4760a8319130675ac3
tree65c9e6912250cc4889af4b036014bf4ac565e47c
parentd4a4ec9d3dc663cc08ed30db78570ccf33f9bdab
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