Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp126491imj; Wed, 13 Feb 2019 05:50:52 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibas4keRWdKEoDlSDBQmGcjk+gU43BCBtsStg7AW5aCpE5H1zN2aBFLL3ccZFSIdxra49ys X-Received: by 2002:a63:e80e:: with SMTP id s14mr607926pgh.30.1550065852214; Wed, 13 Feb 2019 05:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550065852; cv=none; d=google.com; s=arc-20160816; b=xTeHgvrYifKREmgmAQ7na3eRMNbCbWEZLk7F94eZn3tJ5JEjqIRmYkT0mrC1/5zglM cJNn2f54uh3x4ANp4tSc72jmrZ9X8f0lUB1Qjcsc++pzWhbZ5je3J8/K54Fxn9D2PR76 TQF3HyF4VlEGzLeqD0LKTVEgylpkTjIgmKzzpB7I76LX1GBS7T2w1uELIitwWIjDpt9T 0/aLiaBEiT0qRcjcHTZYvZnRuBDbXaINLVlzh/fOWSHqCQuROUmxicK2QdpjUfFGnPpg wIb58hvwe7oLc68ITbcyYSDKCumzmKDQdgVVRl3aLyQFalck8x4B8zvmVi0AfoaHp5VK mYVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=jRSHBMcZsj6TpOLr81RQpOyegiWz+qOaoYnqYgzdGQs=; b=ZZrlEm7OTuRp8FaRo0EMnBmAbI7k+GuDPu/m8Ox8a3QgMQGSmVp4JOSgOULk5ZkX/r 81/wh7ts0ZGrrwRWHXdtvjZfxPQzgkOJag2+wo+72yYs62XcWbt/rm+1+tjkAtogSefN n8GJeR/h+PFxK8ZvfJ5dQR/vZ2MD22ApdzQ2zCOkG8h3c6JdcNyyHWt+auZArH/erFZ5 sVHS2ql3B5IIYIknVTzpOtsSUBjlWcpr9Qk9l9Bko8fBSrHx7dFG3qKkG8i/76RuVOL4 TbaW1ITSwRVtUQUzBpmDnSgA4A0XaQVcwPYcG2XWTqtfit06iPP31AYFcy5NaRXBS8IN GnKA== 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 a132si9461306pfa.112.2019.02.13.05.50.34; Wed, 13 Feb 2019 05:50:52 -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 S2391839AbfBMLXN (ORCPT + 99 others); Wed, 13 Feb 2019 06:23:13 -0500 Received: from www62.your-server.de ([213.133.104.62]:41586 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728454AbfBMLXN (ORCPT ); Wed, 13 Feb 2019 06:23:13 -0500 Received: from [88.198.220.130] (helo=sslproxy01.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1gtsdC-0006lF-EE; Wed, 13 Feb 2019 12:23:10 +0100 Received: from [2a02:1205:34ea:9e0:5681:e3d2:fbd:7e53] (helo=linux.home) by sslproxy01.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1gtsdC-0002kp-6Q; Wed, 13 Feb 2019 12:23:10 +0100 Subject: Re: [PATCH -next] net: ipvlan_l3s: fix kconfig unmet dependency warning To: Randy Dunlap , LKML , "netdev@vger.kernel.org" , Mahesh Bandewar , David Miller Cc: Andrew Morton References: From: Daniel Borkmann Message-ID: <1bc4ec7b-8373-12bc-5f89-3d85415bc5d7@iogearbox.net> Date: Wed, 13 Feb 2019 12:23:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.2/25359/Wed Feb 13 11:34:31 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/13/2019 03:02 AM, Randy Dunlap wrote: > 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 > --- > Seen in mmotm but applies to linux-next. > > drivers/net/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > --- mmotm-2019-0212-1537.orig/drivers/net/Kconfig > +++ mmotm-2019-0212-1537/drivers/net/Kconfig > @@ -147,6 +147,7 @@ config MACVTAP > > config IPVLAN_L3S > depends on NETFILTER > + depends on INET || IPV6 # same as NET_L3_MASTER_DEV Thanks for the fix! Lets just do the following instead ... depends on IPVLAN ... and we should be all set. Please submit against net-next, thanks! > def_bool y > select NET_L3_MASTER_DEV > > >