[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200706095548.258eb21d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 6 Jul 2020 09:55:48 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
DENG Qingfang <dqfext@...il.com>,
Mauri Sandberg <sandberg@...lfence.com>
Subject: Re: [net-next PATCH 1/5 v3] net: dsa: tag_rtl4_a: Implement Realtek
4 byte A tag
On Mon, 6 Jul 2020 01:15:46 +0200 Linus Walleij wrote:
> +static struct sk_buff *rtl4a_tag_rcv(struct sk_buff *skb,
> + struct net_device *dev,
> + struct packet_type *pt)
> +{
> + u16 protport;
> + __be16 *p;
> + u16 etype;
> + u8 flags;
> + u8 *tag;
> + u8 prot;
> + u8 port;
net/dsa/tag_rtl4_a.c: In function ‘rtl4a_tag_rcv’:
net/dsa/tag_rtl4_a.c:60:5: warning: unused variable ‘flags’ [-Wunused-variable]
60 | u8 flags;
| ^~~~~
Powered by blists - more mailing lists