Received: by 10.223.164.202 with SMTP id h10csp213669wrb; Mon, 13 Nov 2017 05:23:08 -0800 (PST) X-Google-Smtp-Source: AGs4zMaD1ZXtG5IA4d9N0bR/jNkMWR/cfaKnwWlLFOtdX/XwIPrWXZsK8FORH5nqelNf9thToOnd X-Received: by 10.159.247.203 with SMTP id v11mr9091299plz.33.1510579388464; Mon, 13 Nov 2017 05:23:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510579388; cv=none; d=google.com; s=arc-20160816; b=nIhkaxcqBpXg2H6Rh55ZPvtpNDGX5VXra/WpDv7pgMhGJVHWAcLQp2q6ZGetxFhFGj /D4qaiO+4UScep2WIvENx1kZc+K90dfnj6EwuIIokSyJ9RwNhmerBLoyM7VQupGDNh7w 5CggHYU2JYbqfSPlryrcHX5VBLwmExmwdwB1oK8IXqIVuwfGrnhToZfEzobBwMS51UtA j4kGg0ZGTCvX8GX7Q2gH9g7alqVpKTvumDMLlxVb2dpYzIF518r5on1fgGaqgpTzNKXk nVf4i+Pim2J53W2lQmUajPvkoHhjnpPyUVmjMwkj94pVHLGp4Z3SVsGjmzZjFcjlcG3u 0SSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=+iGdDNzO2W6ffep87DXgyVK0uoBP1nUNAgpXAm2wALw=; b=kmH/kL8ZrYyUqzi8swtlNDqGDSIkYcVol2QPABeEf3dqTzuv63WE2QItw+dsLXsVoK zhu0ULMHEntNAMXBnKpZg9TbfESyiGHHkg/E/fmr1QO0XoiL1voodndDy6RNyKWXGnAc rUsRHQgwEVg2sw1bFmOAUmdOjt4X8RBmMcwV5aJE1nW84+hh7K3MeL5zU/PmYXfD1HlN 4pKaw4fRh22jiENvnvsh9WytbF3v4DfYAv5XX1hhDb5NrwsyDRUi5GCdr4HgFsNYdu80 znZyABJ15MlxLkracLg859aXcMn/nFoGwHAiSRPCFBzOK4NaR8Pok6R78CJ5d5WENzGd MRbg== 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 n9si3176495pgf.425.2017.11.13.05.22.55; Mon, 13 Nov 2017 05:23:08 -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 S1752256AbdKMNWR (ORCPT + 95 others); Mon, 13 Nov 2017 08:22:17 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:50182 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754597AbdKMNBV (ORCPT ); Mon, 13 Nov 2017 08:01:21 -0500 Received: from localhost (LFbn-1-12253-150.w90-92.abo.wanadoo.fr [90.92.67.150]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 64E109C; Mon, 13 Nov 2017 13:01:20 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vivien Didelot , Andrew Lunn , Florian Fainelli , Randy Dunlap , "David S. Miller" , Sasha Levin Subject: [PATCH 4.9 48/87] net: dsa: select NET_SWITCHDEV Date: Mon, 13 Nov 2017 13:56:05 +0100 Message-Id: <20171113125619.790917491@linuxfoundation.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171113125615.304035578@linuxfoundation.org> References: <20171113125615.304035578@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Vivien Didelot [ Upstream commit 3a89eaa65db68bf53bf92dedc60084f810e1779a ] The support for DSA Ethernet switch chips depends on TCP/IP networking, thus explicit that HAVE_NET_DSA depends on INET. DSA uses SWITCHDEV, thus select it instead of depending on it. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli Tested-by: Randy Dunlap Signed-off-by: David S. Miller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- net/dsa/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/net/dsa/Kconfig +++ b/net/dsa/Kconfig @@ -1,12 +1,13 @@ config HAVE_NET_DSA def_bool y - depends on NETDEVICES && !S390 + depends on INET && NETDEVICES && !S390 # Drivers must select NET_DSA and the appropriate tagging format config NET_DSA tristate "Distributed Switch Architecture" - depends on HAVE_NET_DSA && NET_SWITCHDEV + depends on HAVE_NET_DSA + select NET_SWITCHDEV select PHYLIB ---help--- Say Y if you want to enable support for the hardware switches supported From 1588770983888130705@xxx Fri Jan 05 16:34:41 +0000 2018 X-GM-THRID: 1585849757685757375 X-Gmail-Labels: Inbox,Category Forums,Downloaded_2018-01