[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <85ebf910-27ef-a1a6-65f6-91c8751192cd@gmail.com>
Date: Sun, 5 Jul 2020 13:43:46 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Andrew Lunn <andrew@...n.ch>, David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Heiner Kallweit <hkallweit1@...il.com>
Subject: Re: [PATCH net-next 5/5] net: dsa: tag_qca.c: Fix warning for __be16
vs u16
On 7/5/2020 12:30 PM, Andrew Lunn wrote:
> net/dsa/tag_qca.c:48:15: warning: incorrect type in assignment (different base types)
> net/dsa/tag_qca.c:48:15: expected unsigned short [usertype]
> net/dsa/tag_qca.c:48:15: got restricted __be16 [usertype]
> net/dsa/tag_qca.c:68:13: warning: incorrect type in assignment (different base types)
> net/dsa/tag_qca.c:68:13: expected restricted __be16 [usertype] hdr
> net/dsa/tag_qca.c:68:13: got int
> net/dsa/tag_qca.c:71:16: warning: restricted __be16 degrades to integer
> net/dsa/tag_qca.c:81:17: warning: restricted __be16 degrades to integer
>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists