lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ