Re: [PATCH] soc: qcom: qmi: add CONFIG_NET dependency
From: Andy Gross
Date: Thu Mar 08 2018 - 19:44:14 EST
On Thu, Feb 22, 2018 at 04:57:38PM +0100, Arnd Bergmann wrote:
> 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 <arnd@xxxxxxxx>
> ---
> drivers/remoteproc/Kconfig | 1 +
> drivers/soc/qcom/Kconfig | 2 +-
> samples/Kconfig | 1 +
> 3 files changed, 3 insertions(+), 1 deletion(-)
Acked-by: Andy Gross <andy.gross@xxxxxxxxxx>