From patchwork Wed Apr 25 22:33:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10364329 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B6FDC6038F for ; Wed, 25 Apr 2018 22:34:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9ECE828877 for ; Wed, 25 Apr 2018 22:34:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 932FA28D95; Wed, 25 Apr 2018 22:34:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3319228877 for ; Wed, 25 Apr 2018 22:34:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753766AbeDYWeK (ORCPT ); Wed, 25 Apr 2018 18:34:10 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36082 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753754AbeDYWeJ (ORCPT ); Wed, 25 Apr 2018 18:34:09 -0400 Received: by mail-pf0-f193.google.com with SMTP id g14so16446852pfh.3 for ; Wed, 25 Apr 2018 15:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ziQultYl2Ole1HGgUeXdN/pxTwbha55GZfbAVSM0Y7U=; b=T2NKGDiy2lCJnYd5exKdmMWR/qnMFAZgzzH6ZOutHxzVBHxwMc9vuq32X4OYlfagw1 SqjueU7FIinrj/z7mepoxoXyiwjgZVgUPgp+oDCU1vQF7wCGFy9QnPUo+9OKavfWFPke 49euK6gU6yK6Dzmjb1vyuo7NBka0eAdBKVIJEaFbujfQo953rYk+n9y78um20CK33sgE Vdgoh8xPXe5ijhSnmutRkt1T09zN4agq57dY/B6ZZsbQbHH92aQ1obNHLXnyr1g2hYnL fAUOtNHJj+AuO3i/luDOe+sTqDf24pF9CLYhrY2qLjd89/eeW6ShksS6BQc4D58v0Fm5 x1fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ziQultYl2Ole1HGgUeXdN/pxTwbha55GZfbAVSM0Y7U=; b=h1DCeecfEQnFg3zHRs06v015nbRID9CdNo7IqBbDNg+QMKE+ZESqr+3d5RyDVlM1wn O8X3qigq4Me8Z5FrU++co6y1im+OD/pS4jqPbdmmTSIQznaL0TaLiuPT2Ovv0+wzWD97 oILeJJ4VYiAUaHUIFTa3tZgNH56fe7rZzk9Gg89nXPRps84Ba29rRCk1DhQfVsbIOwW3 4RyXC6ysACOtzCWPBO+Xzl8dDH1jF4qmxSuNq4bI2qC4CgSzq9kAuRTHhF0NZaAR0RlS bFxmKMgIFUVnTfSqzmyAc7Op5xKOIPHqEuAU55tUSjPj85gsQyUysphLCw0dYCWYd/nV jxRg== X-Gm-Message-State: ALQs6tBHWoHDiFqI9bej2k8gsJGL0kevVkLzGc2VT7caHn8j2RFVS9Jg tNjd2x+UNlzzqPoin2dJy6mVww== X-Google-Smtp-Source: AIpwx4+4NCPlAj62hS6wfBX1KFYfvd+CWZ827xrJAAAmATV8/1jLjdd5LRA7x2bMjvQdCHnuH43G0A== X-Received: by 2002:a17:902:b609:: with SMTP id b9-v6mr30402429pls.29.1524695648908; Wed, 25 Apr 2018 15:34:08 -0700 (PDT) Received: from gthelen.svl.corp.google.com ([2620:15c:2cb:201:7fd0:97b4:747b:9bf1]) by smtp.gmail.com with ESMTPSA id q76sm9522229pfi.139.2018.04.25.15.34.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 15:34:08 -0700 (PDT) From: Greg Thelen To: Doug Ledford , Bart Van Assche , Jason Gunthorpe Cc: Christoph Hellwig , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Thelen , Tarick Bedeir Subject: [PATCH 3/5] ib_srpt: depend on INFINIBAND_ADDR_TRANS Date: Wed, 25 Apr 2018 15:33:39 -0700 Message-Id: <20180425223340.206907-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.441.gb46fe60e1d-goog Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP INFINIBAND_SRPT code depends on INFINIBAND_ADDR_TRANS provided symbols. So declare the kconfig dependency. This is necessary to allow for enabling INFINIBAND without INFINIBAND_ADDR_TRANS. Signed-off-by: Greg Thelen Cc: Tarick Bedeir --- drivers/infiniband/ulp/srpt/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/srpt/Kconfig b/drivers/infiniband/ulp/srpt/Kconfig index 31ee83d528d9..fb8b7182f05e 100644 --- a/drivers/infiniband/ulp/srpt/Kconfig +++ b/drivers/infiniband/ulp/srpt/Kconfig @@ -1,6 +1,6 @@ config INFINIBAND_SRPT tristate "InfiniBand SCSI RDMA Protocol target support" - depends on INFINIBAND && TARGET_CORE + depends on INFINIBAND && INFINIBAND_ADDR_TRANS && TARGET_CORE ---help--- Support for the SCSI RDMA Protocol (SRP) Target driver. The