Re: [PATCH] nvmem: rmem: Make reserved region name unique

From: Ivan T. Ivanov
Date: Wed Apr 12 2023 - 03:08:14 EST


Hi Srini,

On 04-11 17:56, Srinivas Kandagatla wrote:
>
> On 11/04/2023 14:50, Ivan T. Ivanov wrote:
> > They could be multiple reserved memory regions,
> > so let's make their names unique.
> >
> > This fixes following kernel error:
> >
> > [ 9.831285] sysfs: cannot create duplicate filename '/bus/nvmem/devices/rmem0'
>
> Have you considered using NVMEM_DEVID_AUTO?

Thanks, I missed this one. I will rework it and resend.

Regards,
Ivan