Re: [PATCH v2] i2c: cpm: Remove linux,i2c-index conversion from be32

2023-12-19 Thread Wolfram Sang
On Wed, Dec 06, 2023 at 11:24:03PM +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. > > The type is correct, the be32_to_cpu() conversion is not. > > Remove the conversion. > >

Re: [PATCH v2] i2c: cpm: Remove linux,i2c-index conversion from be32

2023-12-08 Thread Andi Shyti
Hi Christophe, On Wed, Dec 06, 2023 at 11:24:03PM +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. > > The type is correct, the be32_to_cpu() conversion is not. > > Remove the

Re: [PATCH v2] i2c: cpm: Remove linux,i2c-index conversion from be32

2023-12-08 Thread Jochen Friedrich
Acked-By: Jochen Friedrich Am 06.12.2023 um 23:24 schrieb Christophe Leroy: sparse reports an error on some data that gets converted from be32. That's because that data is typed u32 instead of __be32. The type is correct, the be32_to_cpu() conversion is not. Remove the conversion.

[PATCH v2] i2c: cpm: Remove linux,i2c-index conversion from be32

2023-12-06 Thread Christophe Leroy
sparse reports an error on some data that gets converted from be32. That's because that data is typed u32 instead of __be32. The type is correct, the be32_to_cpu() conversion is not. Remove the conversion. Reported-by: kernel test robot Closes: