]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/nvme/host/core.c
nvme: refactor set_queue_count
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Nov 2015 10:09:06 +0000 (11:09 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:59:40 +0000 (10:59 -0700)
commit9a0be7abb62ff2a7dc3360ab45c31f29b3faf642
tree8348da3a436611032ba1bd197a5ba9d8e30411a0
parentf3ca80fc11c3af566eacd99cf821c1a48035c63b
nvme: refactor set_queue_count

Split out a helper that just issues the Set Features and interprets the
result which can go to common code, and document why we are ignoring
non-timeout error returns in the PCIe driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c