]> asedeno.scripts.mit.edu Git - linux.git/commit
nvme: add helper to compare options to controller
authorJames Smart <jsmart2021@gmail.com>
Fri, 20 Oct 2017 23:17:07 +0000 (16:17 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 27 Oct 2017 06:25:28 +0000 (09:25 +0300)
commit991231dc48ae9bcdd363ee231f10beb771d455c1
tree54bfe9f7d7d4afa886c48067359fce5f7411906b
parent3b3387620780fc9699021c85bdce5cb45a763d41
nvme: add helper to compare options to controller

Adds a helper function that compares the host and subsytem
specified in a connect options list vs a controller.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.h