]> git.baikalelectronics.ru Git - kernel.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)
commit2d2aa24d6d9df31bf24d2ce890f334aaca3366d0
tree54bfe9f7d7d4afa886c48067359fce5f7411906b
parentea0a21af09e633165bbb1b61141d0e843f108b53
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