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

Srinivas Kandagatla <[email protected]> Thu, 16 Jul 2026 22:03:02 +0100
Newsgroups dev.linux.lists.asahi,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
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 <[email protected]>