[PATCH] mtd: rawnand: Add a check in of_get_nand_secure_regions()

Miquel Raynal miquel.raynal at bootlin.com
Thu Jul 15 15:50:45 PDT 2021


On Thu, 2021-06-17 at 13:37:25 UTC, Dan Carpenter wrote:
> Check for whether of_property_count_elems_of_size() returns a negative
> error code.
> 
> Fixes: 13b89768275d ("mtd: rawnand: Add support for secure regions in NAND memory")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> Reviewed-by: Manivannan Sadhasivam <mani at kernel.org>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.

Miquel



More information about the linux-mtd mailing list