[PATCH 1/8] nvmem: core: make reg_write() take a const void *

Andy Shevchenko andriy.shevchenko at intel.com
Wed Jul 15 11:58:08 PDT 2026


On Wed, Jul 15, 2026 at 07:52:17PM +0200, Link Mauve wrote:
> This callback used to take a mutable void * for no reason, this was
> found while drafting the Rust abstraction.

I don't understand how it was compiled. const void * != void * in C and can't
be implicitly covered, if I am not mistaken. So, this patch heavily should
break the build. What did I miss?

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-amlogic mailing list