Re: [PATCH RESEND] nvmem: apple-spmi-nvmem: wrap regmap calls to satisfy CFI
From: Srinivas Kandagatla
Date: Thu Jul 16 2026 - 17:03:26 EST
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@xxxxxxxxxx>