]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: simplify nvme_setup_prps calling convention
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Dec 2016 19:46:47 +0000 (11:46 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:35 +0000 (13:40 -0700)
commitec9660dadbd144ef11df9a363f7abe31cc97ca2e
tree2b6a1b234a1243aef0fefba5685b0f53494e46da
parentb0e58ded2f812e6bc6dd312474c8197bfa26edfb
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>
(cherry picked from commit 69d2b571746d1c3fa10b7a0aa00859b296a98d12)

Orabug: 25130845
Conflicts:
drivers/nvme/host/pci.c
Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/pci.c