summaryrefslogtreecommitdiff
path: root/configs/sama5d4_xplained_mmc_defconfig
diff options
context:
space:
mode:
authorYe.Li <ye.li@nxp.com>2016-01-13 10:06:59 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:26 +0800
commit64c6a7b5d621080b8bd948c061a4f223a8c2d886 (patch)
tree537a41b1ef634b52b766f3044a5660f7033efdcc /configs/sama5d4_xplained_mmc_defconfig
parent242b2b889a9e18c587fafaa98cb9e9985b179df4 (diff)
downloadu-boot-imx-64c6a7b5d621080b8bd948c061a4f223a8c2d886.zip
u-boot-imx-64c6a7b5d621080b8bd948c061a4f223a8c2d886.tar.gz
u-boot-imx-64c6a7b5d621080b8bd948c061a4f223a8c2d886.tar.bz2
MLK-12214 NAND:apbh_dma: Fix logically dead code issue
The list_first_entry always assumes the list is not empty, it won't return NULL pointer when the list is empty. So the "if (pdesc == NULL)" becomes a dead code. Fix the issue by calling the list_empty before the list_first_entry. (Coverity CID 29934) Signed-off-by: Ye.Li <ye.li@nxp.com> (cherry picked from commit ff3923f294cc2e15f436d7520b4042736b1b48a6)
Diffstat (limited to 'configs/sama5d4_xplained_mmc_defconfig')
0 files changed, 0 insertions, 0 deletions