[PATCH] i2c: cpm: Fix data type

Andi Shyti andi.shyti at kernel.org
Wed Dec 6 12:47:14 AEDT 2023

Hi Christophe,

On Tue, Dec 05, 2023 at 07:16:53PM +0100, Christophe Leroy wrote:
> sparse reports an error on some data that gets converted from be32.
> That's because that data is typed u32 instead of __be32.
> Fix it.

the reason for this sparse error is that the data variables is
then parsed with a be32_to_cpup() and I think that's not

I think the real fix here is to not use be32_to_cpup().


More information about the Linuxppc-dev mailing list