[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230519152807.57d3f4c8@kernel.org>
Date: Fri, 19 May 2023 15:28:07 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Min-Hua Chen <minhuadotchen@...il.com>
Cc: Nicolas Ferre <nicolas.ferre@...rochip.com>,
Claudiu Beznea <claudiu.beznea@...rochip.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: macb: use correct __be32 and __be16 types
On Sat, 20 May 2023 06:19:39 +0800 Min-Hua Chen wrote:
> This patch fixes the following sparse warnings. No functional changes.
>
> Use cpu_to_be16() and cpu_to_be32() to convert constants before comparing
> them with __be16 type of psrc/pdst and __be32 type of ip4src/ip4dst.
> Apply be16_to_cpu() in GEM_BFINS().
same story as with your stmmac patch, the warning is a false positive
Powered by blists - more mailing lists