OSDN Git Service

IB/usnic: usnic should not select INFINIBAND_USER_ACCESS
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 24 Jul 2018 20:37:52 +0000 (14:37 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Jul 2018 03:25:54 +0000 (21:25 -0600)
This driver doesn't provide any kernel services, it only provides
an interface via uverbs, so it should depend on, not select, uverbs
support.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/usnic/Kconfig

index 29ab11c..d1dae2a 100644 (file)
@@ -1,10 +1,10 @@
 config INFINIBAND_USNIC
        tristate "Verbs support for Cisco VIC"
        depends on NETDEVICES && ETHERNET && INET && PCI && INTEL_IOMMU
+       depends on INFINIBAND_USER_ACCESS
        select ENIC
        select NET_VENDOR_CISCO
        select PCI_IOV
-       select INFINIBAND_USER_ACCESS
        ---help---
          This is a low-level driver for Cisco's Virtual Interface
          Cards (VICs), including the VIC 1240 and 1280 cards.