From patchwork Thu Jan 19 14:54:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9526075 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 148A76020B for ; Thu, 19 Jan 2017 14:55:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0660B28503 for ; Thu, 19 Jan 2017 14:55:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF51B2853E; Thu, 19 Jan 2017 14:55:37 +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=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 5F1B128503 for ; Thu, 19 Jan 2017 14:55:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752783AbdASOzV (ORCPT ); Thu, 19 Jan 2017 09:55:21 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:56324 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751397AbdASOzU (ORCPT ); Thu, 19 Jan 2017 09:55:20 -0500 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.129]) with ESMTPA (Nemesis) id 0M1eUE-1cFB6R3OlW-00tjIb; Thu, 19 Jan 2017 15:55:05 +0100 From: Arnd Bergmann To: Ohad Ben-Cohen , Bjorn Andersson Cc: Arnd Bergmann , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] rpmsg: char: add CONFIG_NET dependency Date: Thu, 19 Jan 2017 15:54:55 +0100 Message-Id: <20170119145503.556971-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:ah2Kmakci0RgHgTIxnZmU6Pl3Gad1k/K65BgLW4f1Oej7N7YK4X tdRZxL9ljoMaHyXEandDrH8qt50nqBy4AmxrQ61TwEJFuNFw4gxO/RXl613dc//QkP9qBp2 fEIRPRehcKPUgTLHbFT7Tj08qQ9KiJMaz5NPlXWad85ZQ1GSu/JoT+QquDO0h6fhP8fI7+z /TqoQQboQ9imBeCCziU+Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:brDqhoqJH+k=:+uSr+rfsiiHjYFXEITk3XQ SheWNtAlsvzU7TV/QY15JGB7+Zq0J1k5PKZ5GcRrLEAJPgfeScei42TwXYmhcowYwVSf6yUjD uZQlD61yxPxs3FxoXoQ19Z799SiEwSqtURuLoIYW9Vu9c0MEUoTPkklNluMJViZ9D0gKhUw1I 5LA8omC1jZiBHu4J4CLd/bpgYzVxIY7NAFvj68GR5Te1mETWrp2MF9s3ZwR1hOnWU4GEfjCWu f1n53ikvqwxF0OYrmjqCJtSK+ceQqdWvwcoN8m7pkF8gmsSKYUDl+RqU/kgX+22YgDkU7KtP5 Al6m/AZEQ+Ina3eJWPFZ+l0YXMuElhDD/Wt3LDK9XJ8A0lCJ0qi6eonazjdUvrnksD3jQnc5s 0WrRsTOb7h09vQ4zeGOGTdlan5MjPqRssmv7TQXKBvlxI5+7sVq+EzW4LzLjhC24ZEPdbPrBP F/e5TIc+82RvmgZPdQAvYevVdRlqAC01VcZz4E6S/2QRJOt7CpnLoT9YzyHvim2HwLrTkicO1 QvCB6z7m9TEJeJ2Y2gI19G4tSmGOkoLJ9PPHZTGE5qchzx/fTLcSNZACRgkeYwTio3+PkrJyH yx/lr+KI8cGSw5oBOKouN9vSetrHbmFPjyi/VRgqKSJIktdrIVQX6MHj4WA9jkwppsH/D6qlr AGKnDzDwExzA8th0oeY4QVqjEVC4i5bDz8knKmS8I6U9JRhE50ZrcQIqZtgyoVaG1vRQ= Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without CONFIG_NET, we get a build failure for the new driver: ERROR: "skb_queue_tail" [drivers/rpmsg/rpmsg_char.ko] undefined! ERROR: "skb_put" [drivers/rpmsg/rpmsg_char.ko] undefined! ERROR: "__alloc_skb" [drivers/rpmsg/rpmsg_char.ko] undefined! ERROR: "kfree_skb" [drivers/rpmsg/rpmsg_char.ko] undefined! ERROR: "skb_dequeue" [drivers/rpmsg/rpmsg_char.ko] undefined! This adds a dependency so we don't try to build the broken configuration. Fixes: c0cdc19f84a4 ("rpmsg: Driver for user space endpoint interface") Signed-off-by: Arnd Bergmann --- drivers/rpmsg/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rpmsg/Kconfig b/drivers/rpmsg/Kconfig index fa0d582efb3d..f12ac0b28263 100644 --- a/drivers/rpmsg/Kconfig +++ b/drivers/rpmsg/Kconfig @@ -7,6 +7,7 @@ config RPMSG config RPMSG_CHAR tristate "RPMSG device interface" depends on RPMSG + depends on NET help Say Y here to export rpmsg endpoints as device files, usually found in /dev. They make it possible for user-space programs to send and