]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit542a74d776debfab8221f39e73e66ffbe510992a
treee971387fe713c6e54689d93e686903b45b92e29d
parent745353eeeebded6b80d331172ac44a41e853fda8
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