]> Git Repo - linux.git/commit
i2c: cpm: Remove linux,i2c-index conversion from be32
authorChristophe Leroy <[email protected]>
Wed, 6 Dec 2023 22:24:03 +0000 (23:24 +0100)
committerWolfram Sang <[email protected]>
Thu, 18 Jan 2024 20:10:42 +0000 (21:10 +0100)
commite535af5c4225fe2715d12322b645853ab9724648
treef5fb141ec7eb3dcf9174a2e8d39b9eca6b86bdfa
parentdb63eacdf61d6bbcde783f15aaafbd8e66476e9a
i2c: cpm: Remove linux,i2c-index conversion from be32

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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Christophe Leroy <[email protected]>
Acked-By: Jochen Friedrich <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
drivers/i2c/busses/i2c-cpm.c
This page took 0.0497 seconds and 4 git commands to generate.