]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Don't complain if size-cells == 0 in prom_parse()
authorKim Phillips <kim.phillips@freescale.com>
Fri, 11 May 2007 17:19:38 +0000 (03:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 12 May 2007 01:32:48 +0000 (11:32 +1000)
commit8446c7323dc47b40740fea1698e56b6d40e73163
tree1292c6fc1f6b80bad8cbc708368d2df2526ff3e2
parentdf501729e44bae721caf38dbe55f88f5fe28b847
[POWERPC] Don't complain if size-cells == 0 in prom_parse()

An mdio bus scan was added with ucc_geth phylib
migration patches, now machines complain on boot, saying:

prom_parse: Bad cell count for /qe@e0100000/mdio@2120/ethernet-phy@00
prom_parse: Bad cell count for /qe@e0100000/mdio@2120/ethernet-phy@01

since size-cells can indeed be 0, this patch fixes the check.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c