[PATCH RESEND] nvmem: apple-spmi-nvmem: wrap regmap calls to satisfy CFI

Srinivas Kandagatla srini at kernel.org
Thu Jul 16 14:03:02 PDT 2026


On Thu, 11 Jun 2026 05:46:48 +0200, Aelin Reidel wrote:
> The Apple SPMI NVMEM driver previously cast regmap_bulk_read/write to
> void * when assigning them to nvmem_config's reg_read/reg_write
> function pointers.
> 
> This cast breaks the expected function signature of nvmem_reg_read_t
> and nvmem_reg_write_t. With CFI enabled, indirect calls through
> these pointers fail:
> 
> [...]

Applied, thanks!

[1/1] nvmem: apple-spmi-nvmem: wrap regmap calls to satisfy CFI
      commit: 7089170e1df160f5f8fb395bc5aa2e2697b4e896

Best regards,
-- 
Srinivas Kandagatla <srini at kernel.org>




More information about the linux-arm-kernel mailing list