[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <846a8266-c2a8-a7fa-e3d6-ffd51751f817@gmail.com>
Date: Sun, 5 Jul 2020 13:44:11 -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 3/5] net: dsa: tag_lan9303: Fix __be16 warnings
On 7/5/2020 12:30 PM, Andrew Lunn wrote:
> net/dsa/tag_lan9303.c:76:24: warning: incorrect type in assignment (different base types)
> net/dsa/tag_lan9303.c:76:24: expected unsigned short [usertype]
> net/dsa/tag_lan9303.c:76:24: got restricted __be16 [usertype]
> net/dsa/tag_lan9303.c:80:24: warning: incorrect type in assignment (different base types)
> net/dsa/tag_lan9303.c:80:24: expected unsigned short [usertype]
> net/dsa/tag_lan9303.c:80:24: got restricted __be16 [usertype]
> net/dsa/tag_lan9303.c:106:31: warning: restricted __be16 degrades to integer
> net/dsa/tag_lan9303.c:111:24: warning: cast to restricted __be16
> net/dsa/tag_lan9303.c:111:24: warning: cast to restricted __be16
> net/dsa/tag_lan9303.c:111:24: warning: cast to restricted __be16
> net/dsa/tag_lan9303.c:111:24: warning: cast to restricted __be16
>
> Make use of __be16 where appropriate to fix these warnings.
>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists