]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
nvme: export get and set features
authorKeith Busch <keith.busch@intel.com>
Sun, 26 May 2019 16:29:01 +0000 (01:29 +0900)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Jun 2019 09:08:38 +0000 (11:08 +0200)
commit1a87ee657c530bb2f3e39e4ac184d48f5f959cda
tree4ca8c0df77a56d43501561dac50e020afaba34cb
parent2181e455612a8db2761eabbf126640552a451e96
nvme: export get and set features

Future use intends to make use of both, so export these functions. And
since their implementation is identical except for the opcode, provide a
new function that implement both.

[akinobu.mita@gmail.com>: fix line over 80 characters]
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h