On Mon, Feb 13, 2023 at 03:48:43PM +0100, Greg Kroah-Hartman wrote:
- if (rval) {
ida_free(&nvmem_ida, nvmem->id);
kfree(nvmem);
return ERR_PTR(rval);
- }
- if (rval)
goto err_put_device;
I can't work out what you've done here - the hunk seems to suggest that you've cherry picked 5544e90c8126 ("nvmem: core: add error handling for dev_set_name") but I can see no evidence of that in my mailbox. This makes it hard to recreate your 5.15 tree to be able to provide you an updated patch for the one that failed.
Please provide a list of patches that you have queued for nvmem from your linux-5.15.y branch.
Thanks.