nvme: simplify nvme_setup_prps calling convention
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Oct 2015 05:58:37 +0000 (07:58 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:59:39 +0000 (10:59 -0700)
commit69d2b571746d1c3fa10b7a0aa00859b296a98d12
treee971387fe713c6e54689d93e686903b45b92e29d
parent1c63dc66580d4bbb6d2b75bf184b5aa105ba5bdb
nvme: simplify nvme_setup_prps calling convention

Pass back a true/false value instead of the length which needs a compare
with the bytes in the request and drop the pointless gfp_t argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c