]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dcfe06db4e8238c02b9aa26a4289ba414e67905
tree8348da3a436611032ba1bd197a5ba9d8e30411a0
parentc4d837a461078874a488ab79ce3bd99d8621cf87
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