From patchwork Tue Sep 1 13:01:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 7105241 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7EEE99F36E for ; Tue, 1 Sep 2015 13:01:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B2A31205ED for ; Tue, 1 Sep 2015 13:01:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D6982203DC for ; Tue, 1 Sep 2015 13:01:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753193AbbIANBt (ORCPT ); Tue, 1 Sep 2015 09:01:49 -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 Received: by paczk9 with SMTP id zk9so28737951pac.0; Tue, 01 Sep 2015 06:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ED/44SV4lth3OobH29Yszzh/YBAk9zAmQI1zQULSViM=; b=UBDecTghYwabLBOHnaWjZxpnarAMneBRGh+2Ga5zkwTgrlbPmDJWq0opHndRuFbvav R33YiPt7HRqVqL/DWzPUQv3OhGct0dM7mBVtqtEqJQ5pdXm+Sed/RihAlcX3FIJE5ont exaMeaTo6Y8oJe0JCZHar6NnK1r8GR3IkGRdF4BWFYPTXt10x06ziahhGqpdPZmYg73j IVmmxb4QUTLT8XPChv72BrXgxN4nPM0nkvz9PdCatKRlhbzrPw+PU9w8hR1VYSG54w20 OVLpyTA9hKrNxrPZxZekZsJ72+zglDVMz7/uWOiKKUdsgXZtWwFFNMGQNlUFZqwmx0Tw uoqA== X-Received: by 10.68.68.233 with SMTP id z9mr45984024pbt.140.1441112507020; Tue, 01 Sep 2015 06:01:47 -0700 (PDT) Received: from localhost.localdomain ([122.169.183.241]) by smtp.gmail.com with ESMTPSA id fs13sm18165858pdb.29.2015.09.01.06.01.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Sep 2015 06:01:46 -0700 (PDT) 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-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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),