Re: [PATCH v2] nvmem: brcm_nvram: check for allocation failure

From: Greg KH
Date: Thu May 19 2022 - 12:56:31 EST


On Tue, May 10, 2022 at 10:35:40AM +0100, Srinivas Kandagatla wrote:
> From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> Check for if the kcalloc() fails.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 299dc152721f ("nvmem: brcm_nvram: parse NVRAM content into NVMEM cells")

This isn't a commit in any tree that I can see, are you sure it is
correct?

thanks,

greg k-h