Re: linux-next: manual merge of the char-misc tree with the char-misc.current tree
From: Greg KH
Date: Fri Dec 04 2026 - 19:00:45 EST
On Fri, Dec 04, 2026 at 04:04:06PM +0000, Mark Brown wrote:
> Hi all,
>
> Today's linux-next merge of the char-misc tree got a conflict in:
>
> drivers/nvmem/core.c
>
> between commit:
>
> cd6984bf99b34 ("nvmem: exclude disconnected providers from callback admission")
>
> from the char-misc.current tree and commit:
>
> ed86af5dba81f ("nvmem: don't use devres in subsystem code")
>
> from the char-misc tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
> diff --cc drivers/nvmem/core.c
> index fe9b8a3a5ea02,cce0348650852..0000000000000
> --- a/drivers/nvmem/core.c
> +++ b/drivers/nvmem/core.c
> @@@ -1115,6 -1113,8 +1143,7 @@@ void nvmem_unregister(struct nvmem_devi
>
> nvmem_sysfs_remove_compat(nvmem);
> nvmem_destroy_layout(nvmem);
> + nvmem_sysfs_remove_cells(nvmem);
> - kfree(ops);
>
> device_unregister(&nvmem->dev);
> }
thanks for the heads up!