From patchwork Mon Feb 29 11:14:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102650 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1181573lbc; Mon, 29 Feb 2016 03:16:07 -0800 (PST) X-Received: by 10.98.0.11 with SMTP id 11mr21537360pfa.5.1456744566337; Mon, 29 Feb 2016 03:16:06 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b17si4140396pfj.52.2016.02.29.03.16.06; Mon, 29 Feb 2016 03:16:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754621AbcB2LPy (ORCPT + 30 others); Mon, 29 Feb 2016 06:15:54 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:54450 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754027AbcB2LPu (ORCPT ); Mon, 29 Feb 2016 06:15:50 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue004) with ESMTPA (Nemesis) id 0LxKk2-1Zqt1l2bxi-0170BO; Mon, 29 Feb 2016 12:15:15 +0100 From: Arnd Bergmann To: "Nicholas A. Bellinger" Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Varun Prakash , linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] target/cxgbit: add INET dependency Date: Mon, 29 Feb 2016 12:14:50 +0100 Message-Id: <1456744504-3011977-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:RA06ady/rsqcsfpWUzuGn9GHxGXWeB3jt/MskfQZGjkDaQbmQjU B3o/k7WR96mGPdgomO78V982p+RNjLBS7zKOiXJ3sksORa6Q9h5HnDILyVriXp5hGGsViCS MTeRjuDVjLwO8zSZkCA0l6DuU41EBMFAteLTW5+pFEFTh7I15FZyk6UIoUY1K3DgMFyhUJj 88asqzLJL3rTBZwRxiaKg== X-UI-Out-Filterresults: notjunk:1; V01:K0:KOcmPyS97Yo=:XdCiecF+Udy3HaN51Va2tx XkAorXsSIhN8GnOvMEml2Y9tsl7BYC79DQxl9cLOM2TP714/nD2tVsKa3Stlat2hx0zHW0K72 JqlobaLZIAtUpwygOFfI/rA3AYmqPRoIAISgrU3KuEBtUG6spI08CPpUnvYZ2u7iWThsE2xX7 ZirAVnl5sv7NTG42i0RWF0GBdLUZCji4ZBMlKUrEWmrMA1gZaUh5wPBFBIgCfwTXeBTv4PsHs Y2x4TCwgrinGnXABmDHLDRmduJ+Ti8r6OMqGp1msTyb1Zgew6lH7EjAYhSPq3QRX3aXRWRPHd koYpetTXQsRTinKvIo7G8qF8EGwg41l8rXJVC65d7o22vzjCtXPF7ZGS3pXUBJL/mYuY/N6Bf 3xYuq4xHqnhBBkuCv2G23b7tu1sowBHUw8x9gsQ8+ksm3il9cHgT8ec1s0zIG+us0d21uQdOo rwUfEZ6WmgXwDlr9H1FwKl9jDfRBUecyLJQiL+O/IqgS7TFF3CFBPDaQuBAyT/NAuG+ma4AJH 7QN6sgASRMJxzD8Ng8wdGVEaLC5Qks9ggacpmcHQiIgmIKSfSrwuRUboxdd3m3i1WLhcHuDqC pvyXiqRWCbg6d+lrsRuK6RUdih+E/es7hIYfBq2jWrfJxY0vnY5Lx8IJOPjk5hDO6ojlqutu3 TlDLzJk/KxUQRcIm7N71Z6okH2ppUIfT420cQWr/N+nbG4J6NetULjqoDTpCgfwItDqA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly added cxgbit driver directly calls functions of the IPv4 network stack, which fails if that is disabled: ERROR: "ip_route_output_flow" [drivers/target/iscsi/cxgbit/cxgbit.ko] undefined! ERROR: "__ip_dev_find" [drivers/target/iscsi/cxgbit/cxgbit.ko] undefined! This adds a Kconfig dependency to ensure we can't enable this driver without the complete network stack it needs. Signed-off-by: Arnd Bergmann Fixes: b7ca3321e114 ("cxgbit: add Kconfig and Makefile") --- drivers/target/iscsi/cxgbit/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 diff --git a/drivers/target/iscsi/cxgbit/Kconfig b/drivers/target/iscsi/cxgbit/Kconfig index cf335b4dbb4e..ce6f5cca315d 100644 --- a/drivers/target/iscsi/cxgbit/Kconfig +++ b/drivers/target/iscsi/cxgbit/Kconfig @@ -1,6 +1,7 @@ config ISCSI_TARGET_CXGB4 tristate "Chelsio iSCSI target offload driver" depends on ISCSI_TARGET && CHELSIO_T4 + depends on INET select CHELSIO_T4_UWIRE ---help--- To compile this driver as module, choose M here: the module