Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1401126imj; Sun, 10 Feb 2019 01:08:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IaEmI3ucEtB4y3A8Xfv+GD5/fSerD7dDsKyC1jQpomOcw3skJ/Z6TOWLiwpxi1LKW/9XF46 X-Received: by 2002:a63:516:: with SMTP id 22mr529253pgf.353.1549789692447; Sun, 10 Feb 2019 01:08:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549789692; cv=none; d=google.com; s=arc-20160816; b=v/G0vvU+4WDLW22HoUMf7uKy+XmY+yn/G3ugMseIfuC2bFOEM02cizl5KfBBHwczs5 tFsL4kwOACeoIvwAJDOzv5aZo5ZOicM9pjad5OBrG0gVrF4oLSh4on41XdDEjwnhe83H 3/yRpx6uZBAe9uj6mMJtNksPEoQ/wg97cOGNd1ECJCbnz/2vGvUGlji8AP5rN5Z1YzwR OCJVZLa/OM8A53NHGeFoTJSlzA8JQTtTzXTqL2ZrDhMtD2oVNTYWxUemaEvlSSeVH2G1 kKrMU7FuOShIuBiwSWB5EF9nVyf6OIULr1H/kYSOlcYfm29qzVEV1fK/qP2oMRWzIpLT ROVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=wnSTJinlkdyPAE5qEpxTVxQwJl9zk1ew2xuaSmCWQFU=; b=FH4hrYUSgSs51QU4dYHCenoZ0y9pQ9+c/wKLyhIe0ri3yUAX+oXqDyWWL2CtbY94ce rN8ul/aZuPfy0f62+qIH6PCkai7PoGQwk6XQCV4PRU3+5hzcTVBzLb4LSPD5yHwqmKZr EnDZ9kjA6Lch/5YNF0zczWwPAhHVIQ7OCKYcvwXguQPFVfHE+KJgPamuhD82jNtetElL dO5pxcrchzc/KbL2rWV9LECZLe1hQ3UHuHb/Hhc+ttOmgsZLLHQDKmXMW1x5blwmQcUk I6DcZgPdZjz0ggQr8Cu/UAvumKSrRrRV0pzsGLo3cSZmK9xhNdsVEX/wKC648D9SpqVW szuw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10si7005443pll.179.2019.02.10.01.07.55; Sun, 10 Feb 2019 01:08:12 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726035AbfBJJHv (ORCPT + 99 others); Sun, 10 Feb 2019 04:07:51 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:45190 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725862AbfBJJHu (ORCPT ); Sun, 10 Feb 2019 04:07:50 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from eli@mellanox.com) with ESMTPS (AES256-SHA encrypted); 10 Feb 2019 11:07:43 +0200 Received: from nps-server-21.mtl.labs.mlnx (nps-server-21.mtl.labs.mlnx [10.137.240.120]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x1A97hNF029742; Sun, 10 Feb 2019 11:07:43 +0200 Received: from nps-server-21.mtl.labs.mlnx (localhost [127.0.0.1]) by nps-server-21.mtl.labs.mlnx (8.14.7/8.14.7) with ESMTP id x1A8K0YV022085; Sun, 10 Feb 2019 10:20:00 +0200 Received: (from eli@localhost) by nps-server-21.mtl.labs.mlnx (8.14.7/8.14.7/Submit) id x1A8Jv01020571; Sun, 10 Feb 2019 10:19:57 +0200 X-Authentication-Warning: nps-server-21.mtl.labs.mlnx: eli set sender to eli@mellanox.com using -f Date: Sun, 10 Feb 2019 10:19:57 +0200 From: Eli Cohen To: David Miller Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, simon.horman@netronome.com, jakub.kicinski@netronome.com, dirk.vandermerwe@netronome.com, francois.theron@netronome.com, quentin.monnet@netronome.com, john.hurley@netronome.com, edwin.peer@netronome.com Subject: Re: [PATCH net-next 2/2] net: Change TCA_ACT_* to TCA_ID_* to match that of TCA_ID_POLICE Message-ID: <20190210081956.GA18213@nps-server-21.mtl.labs.mlnx> References: <20190207074549.29861-1-eli@mellanox.com> <20190207074549.29861-3-eli@mellanox.com> <20190207.100110.1557913033627638063.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190207.100110.1557913033627638063.davem@davemloft.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 07, 2019 at 10:01:10AM -0800, David Miller wrote: > From: Eli Cohen > Date: Thu, 7 Feb 2019 09:45:49 +0200 > > > diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c > > index 902957beceb3..d54cb608dbaf 100644 > > --- a/net/sched/act_simple.c > > +++ b/net/sched/act_simple.c > > @@ -19,8 +19,6 @@ > > #include > > #include > > > > -#define TCA_ACT_SIMP 22 > > - > > #include > > #include > > > > I would do this in patch #1. Sure, that was the intention. It just slipped off my fingers. Will fix and send a new series. > Actually, because you didn't, after patch #1 there are two #defines > evaluated for this macro. One in pkt_cls.h and one here. > > The only reason the compiler doesn't warn and complain is because the > definitions are identical. > > Thank you.