From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46731C282C2 for ; Wed, 13 Feb 2019 16:55:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14430222CF for ; Wed, 13 Feb 2019 16:55:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="iA1FYQcr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392794AbfBMQzI (ORCPT ); Wed, 13 Feb 2019 11:55:08 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:58228 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388561AbfBMQzI (ORCPT ); Wed, 13 Feb 2019 11:55:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gcQDCJHjNH9aivNFLYkARYuIpoMjrF3T1ggEK6Dj6qw=; b=iA1FYQcrFzGE8GSTNzIuI30eL AoH++xrVwi59j+IDuhbxeCBXfoP6JIkpFA/vLiO1NIcGWO2iT/3zIy3KuFJBnRTx0JN635gU94/MI xezKlj35UC20QYzwJLu7k2DgTUebJZmIfhC5dWeEhWRWUPl7jZd7ZcEe+/5o8ChdNrVGqi3bDPmEM EDX3O+eB45Hi2q6oa1yL4ig2eOB/Lx2sgBxBfO8kEAYa1ukW9VcYDACM4wtcswukj8wkvglHUorBn YCPUWW2W/xkvziLfXsjW1udt5vhv8KVxiXNkX8rWOQTNa36zJky0cYIr0QmBH3mBSf8YqGY+/kO6R iCl/LTUxw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtxoN-0002Co-56; Wed, 13 Feb 2019 16:55:03 +0000 To: "netdev@vger.kernel.org" Cc: Mahesh Bandewar , Daniel Borkmann , David Miller From: Randy Dunlap Subject: [PATCH -next] net: ipvlan_l3s: fix kconfig dependency warning Message-ID: <204a7785-a1d2-e714-653e-2cb19e36f279@infradead.org> Date: Wed, 13 Feb 2019 08:55:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Randy Dunlap Fix the kconfig warning in IPVLAN_L3S when neither INET nor IPV6 is enabled: WARNING: unmet direct dependencies detected for NET_L3_MASTER_DEV Depends on [n]: NET [=y] && (INET [=n] || IPV6 [=n]) Selected by [y]: - IPVLAN_L3S [=y] && NETDEVICES [=y] && NET_CORE [=y] && NETFILTER [=y] Signed-off-by: Randy Dunlap Cc: Mahesh Bandewar Cc: Daniel Borkmann --- v2: simplify the dependency to IPVLAN Seen in mmotm but applies to linux-next. drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20190213.orig/drivers/net/Kconfig +++ linux-next-20190213/drivers/net/Kconfig @@ -147,6 +147,7 @@ config MACVTAP config IPVLAN_L3S depends on NETFILTER + depends on IPVLAN def_bool y select NET_L3_MASTER_DEV