From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754546AbbIANBu (ORCPT ); Tue, 1 Sep 2015 09:01:50 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33253 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753106AbbIANBs (ORCPT ); Tue, 1 Sep 2015 09:01:48 -0400 From: Sudip Mukherjee To: Mike Marciniszyn , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, devel@driverdev.osuosl.org, Jim Davis , Sudip Mukherjee Subject: [PATCH] staging: ipath: fix build failure Date: Tue, 1 Sep 2015 18:31:38 +0530 Message-Id: <1441112498-22057-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org building of ipath depends on infiniband. And if ipath is selected and infiniband is not then build fails with: ERROR: "ib_alloc_device" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_dealloc_device" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_dispatch_event" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_register_device" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_unregister_device" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_modify_qp_is_ok" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_wq" [drivers/staging/ipath/ib_ipath.ko] undefined! Config at: https://lkml.org/lkml/2015/8/31/328 Reported-by: Jim Davis Signed-off-by: Sudip Mukherjee --- drivers/staging/ipath/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ipath/Kconfig b/drivers/staging/ipath/Kconfig index 041ce06..1edc21b 100644 --- a/drivers/staging/ipath/Kconfig +++ b/drivers/staging/ipath/Kconfig @@ -1,6 +1,7 @@ config INFINIBAND_IPATH tristate "QLogic HTX HCA support" depends on 64BIT && NET && HT_IRQ + depends on INFINIBAND ---help--- This is a driver for the deprecated QLogic Hyper-Transport IB host channel adapter (model QHT7140), -- 1.9.1