git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
sparc64
/
kernel
/
ebus.c
diff --git
a/arch/sparc64/kernel/ebus.c
b/arch/sparc64/kernel/ebus.c
index
1300827
..
044b858
100644
(file)
--- a/
arch/sparc64/kernel/ebus.c
+++ b/
arch/sparc64/kernel/ebus.c
@@
-509,7
+509,7
@@
probe_interrupts:
fill_ebus_child(node, ®s[0],
child, child_regs_nonstandard(dev));
fill_ebus_child(node, ®s[0],
child, child_regs_nonstandard(dev));
- while ((node = prom_getsibling(node))) {
+ while ((node = prom_getsibling(node))
!= 0
) {
child->next = ebus_alloc(sizeof(struct linux_ebus_child));
child = child->next;
child->next = ebus_alloc(sizeof(struct linux_ebus_child));
child = child->next;
@@
-611,7
+611,7
@@
void __init ebus_init(void)
dev->bus = ebus;
fill_ebus_device(nd, dev);
dev->bus = ebus;
fill_ebus_device(nd, dev);
- while ((nd = prom_getsibling(nd))) {
+ while ((nd = prom_getsibling(nd))
!= 0
) {
dev->next = ebus_alloc(sizeof(struct linux_ebus_device));
dev = dev->next;
dev->next = ebus_alloc(sizeof(struct linux_ebus_device));
dev = dev->next;