aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-06-17 16:37:25 +0300
committerMiquel Raynal <[email protected]>2021-07-16 00:49:15 +0200
commit14f97f0b8e2b9950c028d0cb7311ffe26a3cc1c0 (patch)
treee1cf0a5b2829c560592e124a07bf3a49c60cd09b /net/lapb/lapb_subr.c
parent2b6d2833cd1d8a43a837a45da65860ef086443dc (diff)
mtd: rawnand: Add a check in of_get_nand_secure_regions()
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 <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/YMtQFXE0F1w7mUh+@mwanda
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions