]> git.baikalelectronics.ru Git - uboot.git/commit
pci: pci-uclass: Check validity of ofnode
authorSuneel Garapati <sgarapati@marvell.com>
Tue, 5 May 2020 04:25:25 +0000 (21:25 -0700)
committerStefan Roese <sr@denx.de>
Tue, 25 Aug 2020 06:01:16 +0000 (08:01 +0200)
commit8b52172696f986882c566106c1cb31955695cc53
tree24bb22e46dff69903f3e3567b161c2aedf1fbf8f
parent07a19e10ba956803daf7b8b92bb07589b26a3141
pci: pci-uclass: Check validity of ofnode

Add check if the referenced ofnode is valid.

Signed-off-by: Suneel Garapati <sgarapati@marvell.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci-uclass.c