]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdtdec: Fix possible infinite loop in fdtdec_get_pci_vendev()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 20 Aug 2015 13:40:25 +0000 (06:40 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:46 +0000 (11:29 +0200)
commit499b2533ea15d3362f7d85e64281860c99be4182
tree85102b4dac23a425a2d006dcc0ef52216351581c
parent1f25207ceffbc36126d16b68da2062a622faa526
fdtdec: Fix possible infinite loop in fdtdec_get_pci_vendev()

When there is no valid compatible string in current list,
we should advance to next one in the compatible string list.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c