mtd: fix recoverity isuue
authorxianjun.liu <xianjun.liu@amlogic.com>
Wed, 12 Sep 2018 03:00:52 +0000 (11:00 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 14 Sep 2018 16:04:11 +0000 (09:04 -0700)
commitfcfd9cc47f1b8765b725c8bcc2a43435e50ccc4b
treeb015c2b866a1decd43197c17962b613dfa48c8b7
parentb415469b29b807ecc019dc866527f4b2b9395e92
mtd: fix recoverity isuue

PD#172180: fix coverity issue for mtd

Change-Id: I00725b398edbee55863868c53ed901fb80607bd1
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
drivers/amlogic/mtd/aml_nand.c
drivers/amlogic/mtd/boot.c
drivers/amlogic/mtd/new_nand.c
drivers/amlogic/mtd/rsv_manage.c