From patchwork Thu Feb 22 15:57:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 129292 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2171831edc; Thu, 22 Feb 2018 07:58:42 -0800 (PST) X-Google-Smtp-Source: AH8x226r+R1huhmiI2bd4BqEw0gkt3c2uJlBl2j2rtvn3tGQZhnGatLnAfETC0ulStG2o0wj/PIQ X-Received: by 10.101.85.204 with SMTP id k12mr6206641pgs.40.1519315122554; Thu, 22 Feb 2018 07:58:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519315122; cv=none; d=google.com; s=arc-20160816; b=scnJoRru3FF/UZKflaWGT1knJ5V3JOkY0gUGx0J+TmH8QIFpuG51qc2vgp2IQ1o6gY Zaq/z649lbwPOnrIfTyYZNnB6vHncguI//tEQ5KDd5hsaII/cZBUptVE0EpureUJf/jM Rnyc8LbRi4rzsaGZ20a2rsE1jaGOTMWfNTCHxTjHm+Rd3fbOX4TddX4WWXiy33ycFKhp xcB3T678hUsnTyiquTR7pMswkS7+kzBHlYXs5STZoamDA5xKMER1ISDmPyYlPbd/Fk6Y r/+iCrgatc8P3M3b2xd5Tr+xxLOfPf06jev001MX0Px3jKoKjytEGjPCKz5Se9h7ebpI X2DA== 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=27mAR3Yxbm58aAdef664WSEHbMO7Z53so5oqI0zuugE=; b=E4BQY6jGe5D5M8P9j/7u/LWz8H3YD5FJbt7CLNoKBXvSUMu7pcsv7LGb3LIkbxzz83 DqnY7hEUDTsti7CUrUAEg3bDyi+uWTjGMh0RR10fiEcZ2s0o+OR54No1IRVRM1q4v5o4 xK6kFaf3iAhRGOscUHFAwzhiUan/rhgYLC3iwWoPKOwkiabu12qQVK6XmzwjKLe51e8f uqoNO1NyhMTWIqzlEnQXdiNqqw31q+f5l46LuSxjbpkMzEK7yEOumU/x9BAySgNIHU5T 1gi3LEpAbE5NvE4dVWujDfwfbxTtpAla11NBw1MiGWLaQ2/92q5WOzdAKFbAV2pPzaeF dXPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 c74si224095pfj.339.2018.02.22.07.58.42; Thu, 22 Feb 2018 07:58:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933021AbeBVP6l (ORCPT + 10 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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