nvme: Pass pointers, not dma addresses, to nvme_get/set_features()
commit1a6fe74dfd1bb10afb41cbbbdc14890604be42a6
authorAndy Lutomirski <luto@kernel.org>
Fri, 16 Sep 2016 18:16:10 +0000 (16 11:16 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 24 Sep 2016 16:56:26 +0000 (24 10:56 -0600)
treeae97fdac8d8b8dd923156a989b92dd87ef8dc8c3
parent26501db8dcbc3c63c0d8fb6c5bb098bc7d35d741
nvme: Pass pointers, not dma addresses, to nvme_get/set_features()

Any user I can imagine that needs a buffer at all will want to pass
a pointer directly.  There are no currently callers that use
buffers, so this change is painless, and it will make it much easier
to start using features that use buffers (e.g. APST).

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Tested-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/scsi.c