]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvme: move ctrl cap to struct nvme_ctrl
authorSagi Grimberg <sagi@grimberg.me>
Tue, 27 Jun 2017 19:16:38 +0000 (22:16 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Sun, 2 Jul 2017 12:03:22 +0000 (15:03 +0300)
commit20d0dfe65afd3fb59d14720570a6921eb6bf5c1f
tree32e90551ced3f525d4de69069fd4383f0eb8c307
parentd858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0
nvme: move ctrl cap to struct nvme_ctrl

All transports use either a private cache of controller cap or an on-stack
copy, move it to the generic struct nvme_ctrl. In the future it will also
be maintained by the core.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c
drivers/nvme/host/rdma.c
drivers/nvme/target/loop.c