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
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
acpi
/
namespace
/
nsalloc.c
diff --git
a/drivers/acpi/namespace/nsalloc.c
b/drivers/acpi/namespace/nsalloc.c
index
f7a216c
..
c9dd49f
100644
(file)
--- a/
drivers/acpi/namespace/nsalloc.c
+++ b/
drivers/acpi/namespace/nsalloc.c
@@
-496,14
+496,14
@@
acpi_ns_delete_namespace_subtree (
/* Check if this node has any children */
/* Check if this node has any children */
- if (acpi_ns_get_next_node (ACPI_TYPE_ANY, child_node,
0
)) {
+ if (acpi_ns_get_next_node (ACPI_TYPE_ANY, child_node,
NULL
)) {
/*
* There is at least one child of this node,
* visit the node
*/
level++;
parent_node = child_node;
/*
* There is at least one child of this node,
* visit the node
*/
level++;
parent_node = child_node;
- child_node =
0
;
+ child_node =
NULL
;
}
}
else {
}
}
else {