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
/
nswalk.c
diff --git
a/drivers/acpi/namespace/nswalk.c
b/drivers/acpi/namespace/nswalk.c
index
130d0c0
..
5482e74
100644
(file)
--- a/
drivers/acpi/namespace/nswalk.c
+++ b/
drivers/acpi/namespace/nswalk.c
@@
-183,7
+183,7
@@
acpi_ns_walk_namespace (
/* Null child means "get first node" */
parent_node = start_node;
/* Null child means "get first node" */
parent_node = start_node;
- child_node =
0
;
+ child_node =
NULL
;
child_type = ACPI_TYPE_ANY;
level = 1;
child_type = ACPI_TYPE_ANY;
level = 1;
@@
-258,14
+258,14
@@
acpi_ns_walk_namespace (
* maximum depth has been reached.
*/
if ((level < max_depth) && (status != AE_CTRL_DEPTH)) {
* maximum depth has been reached.
*/
if ((level < max_depth) && (status != AE_CTRL_DEPTH)) {
- 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 onde
*/
level++;
parent_node = child_node;
/*
* There is at least one child of this
* node, visit the onde
*/
level++;
parent_node = child_node;
- child_node =
0
;
+ child_node =
NULL
;
}
}
}
}
}
}