Thread (4 messages) 4 messages, 4 authors, 2023-12-19

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

From: Wolfram Sang <wsa@kernel.org>
Date: 2023-12-19 17:19:19
Also in: linux-i2c, lkml

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.

Reported-by: kernel test robot <redacted>
Closes: https://lore.kernel.org/oe-kbuild-all/202312042210.QL4DA8Av-lkp@intel.com/ (local)
Signed-off-by: Christophe Leroy <redacted>
Applied to for-next, thanks!

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help