[PATCH v7 0/3] nvmem: migrate to const void * in reg_write

Link Mauve linkmauve at linkmauve.fr
Fri Oct 30 07:01:25 PDT 2026


Hi,

On Mon, Oct 12, 2026 at 09:52:07PM +0200, Link Mauve wrote:
> This callback used to take a mutable void * for no reason, which causes
> the compiler to be unaware that the val buffer should never be modified
> by the callback.
> 
> This was found while drafting the nvmem-provider Rust abstraction.
> 
> Thanks to the guidance of Andy Shevchenko, this now introduces a new
> callback and deprecates the existing one, with the goal of renaming the
> new one into the old one once no user remains in the kernel.
[…]

How could we proceed to merge this series in time for 7.4?  I’d really
like to get done with it and move back to the Rust abstractions.

-- 
Link Mauve



More information about the linux-arm-kernel mailing list