aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorMartin Blumenstingl <[email protected]>2019-03-18 21:47:21 +0100
committerMiquel Raynal <[email protected]>2019-03-21 16:48:57 +0100
commit91e9dd7720848fc0bd1c0a96d4dd0b169d8e542a (patch)
treed960ab3b08fbede59422737f59ee3f990a1afa5e /scripts/stackusage
parentb849f8b59c682c2f3c55e14224d6d4d5360fc605 (diff)
mtd: rawnand: meson: add missing ENOMEM check in meson_nfc_read_buf()
kzalloc() can return NULL if memory could not be allocated. Check the return value of the kzalloc() call in meson_nfc_read_buf() to make it consistent with other memory allocations within the meson_nand driver. Fixes: 8fae856c53500a ("mtd: rawnand: meson: add support for Amlogic NAND flash controller") Signed-off-by: Martin Blumenstingl <[email protected]> Acked-by: Liang Yang <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions