Received: by 10.223.185.116 with SMTP id b49csp2087039wrg; Thu, 22 Feb 2018 07:59:48 -0800 (PST) X-Google-Smtp-Source: AH8x2256gcj1aN5jjjJ/WQ5zmu2scBK/Gl+CqfsVKtgKQQ+PuSjCPcb8XLavqrjiQiGm42SLIapN X-Received: by 2002:a17:902:aa5:: with SMTP id 34-v6mr7096668plp.429.1519315187906; Thu, 22 Feb 2018 07:59:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519315187; cv=none; d=google.com; s=arc-20160816; b=Jqts+7Xi+Giye74GBrR2L2LYFAPtD2zNtLVnvyKRTEsrc9pZ13uYaJCJM8c45j4KKp WwJ7OrgIb0WYjUjuMkUnWkVh0ZhAFqC2YTBRNZIiV3C3soGfC1sWHCAAGoxwgEPjlFjn JibVWYP1pNQqCWW5vj8Ssb21+deg1gS16QALmYbo64AIj/LtETjASOolnwdnriA09mmy /EYPbw/mQMgSMNeK3m/1gBx3N41aLxNL9F7S/70GRsi1awRKTiPxMUzNiZYZrPjU8Kpl +Wop/Hcml8EM+zmt51sDKPY8xi8Qty2FTBmuxrEBgfx58ETnOu1y/tTX5WxZOZ0QKJxg 7C0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=RQAZfJBoFPbUZNDr0cBEM70IOZIDKF62pqIzySwi+T0=; b=GAR/r7edgeILkf6hnMAPvzyMAluVS4PUYjTIerUH2tKIM3kMaiMkTkr8e/rW1J8uQs EIYWk5hnywpnG1XKNiV70rXp8IyWgQLAsRXdpKRetcTcch36HCb5lsM2xONpa8KxIqh0 2dWkaK0wexC09LcJZeO5KIMI+aWVHhUaPCJ2VQyQaeUf7zXsBnUGZ+iwYo4SkF5+dye4 ev/uBMzbqo7yg7lWn+foSJIgx2+TQdZz+ZjEIRe7y9qK9e8gk6r0EMQ24tkNLTYKMOxn 6hGBVIkilJ3XOY5XEUaIkKaJU0GlHK74RFKGB5LrMGGE77b8jFD1eSuU24M53ZQTGzMI s3wA== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a33-v6si164813plc.794.2018.02.22.07.59.33; Thu, 22 Feb 2018 07:59:47 -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 S933091AbeBVP6l (ORCPT + 99 others); Thu, 22 Feb 2018 10:58:41 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:44043 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932952AbeBVP6j (ORCPT ); Thu, 22 Feb 2018 10:58:39 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0MCIPR-1exvo21YuH-009CAf; Thu, 22 Feb 2018 16:58:35 +0100 From: Arnd Bergmann To: Bjorn Andersson Cc: Arnd Bergmann , Ohad Ben-Cohen , Andy Gross , David Brown , Suman Anna , Srinivas Kandagatla , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH] soc: qcom: qmi: add CONFIG_NET dependency Date: Thu, 22 Feb 2018 16:57:38 +0100 Message-Id: <20180222155833.1860318-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:oPYdjMrbokSh/dqWP98N6I9tpCGYwC8gh3npXygKphciOzk7Ul/ HjFxB21AnKMJJroxFhxTg37OV1daCW/WwKdcNiNVub85xrIcX+bz4inUJZbTrs6x2eoup60 5ciQ+TJu+2Qr5DT+5bAzXxaOgf6M7d7iqOKjpTVxA8WcRjrcCZefqUF5C6rvkQChfVKOq89 4vahR8UiSuxmGzy53kECQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:UNuTRrnqTBE=:3DrXU8BaHa28RcYkXZpe4J yELsU/gvPbwVpoE5f4hCUDwHKhJr1LD91RzbnGFPIu6uFgEzBJPoiWPoCu7Kx/h3Gt7Uwwigw sl4D0D/n612dTST1lyV1xqIfQskMdOBjBgMcEjM6996RQz9RXmTEbpN29h+Ts/nhRakhx8GSf 9I75CwoaHNuHVNbzkAjBFWSNsCcTGg8iCP7s12+inc9DZpkaEiyWYQUI4Vlhuv8NS2qUqJl+O W0MXM+tjgZ2SC+RlQ9v6mDvRLwOQGz2v6aUImotbvb52wvAFBMxr5c4qZn+QImfbAzC1ROr4j yEVLWJnUEOfs9CJCGUE7W2oQMfcJRuZjaxKUYXTCsi7XFsC9rv9OnqkdGIe0/qTyKa1651Zbv O4zrvrCTCAE9X+sQlhXIUTi6MedROGYqYwzNCb5SP9Vyy1hmVl282eMaNvwyNvnGtfw+Eduw5 TDaT/sJjibk1xlGPRj3/tXcibPwduRaqFag1xQFpGhhTHRx5RKCzzR+V28590J1vPru6t0aBL uy5+rIN1i4VaAzoJKJ9sBQj0Jq0E3/3E+UxLrQVj07HyNB28CIZ4BNvXEXI8CD8AqssT8us6z vs6Ckc/2EqnK315iBYLjUZ/5l+9XeIlVrGrEwZfwTYauS7asdDE3c7N0XaqJd/mtZmzi6yN8u cb/jzl5Dm6ipocr0qrIeSk4jijXWSCCufTSNbsrl48CKRcNMl44mN15Nmn8399XoXo38OTTxo RYQsEeCJMMKtuSFKPR1cWU1t1sTanBctqrb0cA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Access to the socket API and the root network namespace is only available when networking is enabled: ERROR: "kernel_sendmsg" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "sock_release" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "sock_create_kern" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "kernel_getsockname" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "init_net" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "kernel_recvmsg" [drivers/soc/qcom/qmi_helpers.ko] undefined! Adding a dependency on CONFIG_NET lets us build it in all randconfig builds. Fixes: 9b8a11e82615 ("soc: qcom: Introduce QMI encoder/decoder") Signed-off-by: Arnd Bergmann --- drivers/remoteproc/Kconfig | 1 + drivers/soc/qcom/Kconfig | 2 +- samples/Kconfig | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index a3658aa01838..027274008b08 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -121,6 +121,7 @@ config QCOM_SYSMON tristate "Qualcomm sysmon driver" depends on RPMSG depends on ARCH_QCOM + depends on NET select QCOM_QMI_HELPERS help The sysmon driver implements a sysmon QMI client and a handler for diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index e050eb83341d..506763d81766 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -37,7 +37,7 @@ config QCOM_PM config QCOM_QMI_HELPERS tristate - depends on ARCH_QCOM + depends on ARCH_QCOM && NET help Helper library for handling QMI encoded messages. QMI encoded messages are used in communication between the majority of QRTR diff --git a/samples/Kconfig b/samples/Kconfig index 4cb8af2f810f..168291de0184 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -66,6 +66,7 @@ config SAMPLE_QMI_CLIENT tristate "Build qmi client sample -- loadable modules only" depends on m depends on ARCH_QCOM + depends on NET select QCOM_QMI_HELPERS help Build an QMI client sample driver, which demonstrates how to -- 2.9.0