summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorYe Li <[email protected]>2020-08-02 22:43:45 -0700
committerStefano Babic <[email protected]>2021-01-23 11:30:31 +0100
commitf637c40dd7ec664cc911a84282ab3d1ee925f6eb (patch)
tree11795f12a25e1a37d3e1d0f0d3a35d520baebb02 /include/linux/stringify.h
parentfc11dc112d1defef0091a3ba2b5785b00e502929 (diff)
imx: nandbcb: Fix resource leak in read_fcb
Fix Coverity Issue 9006657. In read_fcb, leak of memory to system resource "fcb_raw_page". Adjust the sequence to check the mtd bad block prior than allocation of "fcb_raw_page", also check the NULL return of allocation. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions