Re: [PATCH] i2c: core: Disable i2c_generic_scl_recovery callback checks with CFI

From: Wolfram Sang
Date: Wed Jun 29 2022 - 15:29:06 EST


On Tue, Jun 28, 2022 at 10:41:55AM +0800, Zhipeng Wang wrote:
> CONFIG_CFI_CLANG breaks cross-module function address equality, which
> breaks i2c_generic_scl_recovery as it compares a locally taken function
> address to a one passed from a different module. Remove these sanity
> checks for now.

Can't we better fix a) the code or b) CFI?

Attachment: signature.asc
Description: PGP signature