Commit e535af5c authored by Christophe Leroy's avatar Christophe Leroy Committed by Wolfram Sang
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312042210.QL4DA8Av-lkp@intel.com/


Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Acked-By: default avatarJochen Friedrich <jochen@scram.de>
Reviewed-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent db63eacd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment