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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 19/05/2022 17:56, Greg KH wrote:
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?
Looks like the commit is not correct,
It should be

Fixes: 6e977eaa8280 ("nvmem: brcm_nvram: parse NVRAM content into NVMEM cells")


Dan, can you send this with fix to Fixes tag?

--srini



thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux