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

From: Andy Shevchenko

Date: Wed Jul 15 2026 - 14:59:13 EST


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