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
/
nsload.c
diff --git
a/drivers/acpi/namespace/nsload.c
b/drivers/acpi/namespace/nsload.c
index
0775484
..
314ec66
100644
(file)
--- a/
drivers/acpi/namespace/nsload.c
+++ b/
drivers/acpi/namespace/nsload.c
@@
-352,7
+352,7
@@
acpi_ns_delete_subtree (
parent_handle = start_handle;
parent_handle = start_handle;
- child_handle =
0
;
+ child_handle =
NULL
;
level = 1;
/*
level = 1;
/*
@@
-373,14
+373,14
@@
acpi_ns_delete_subtree (
/* Check if this object has any children */
if (ACPI_SUCCESS (acpi_get_next_object (ACPI_TYPE_ANY, child_handle,
/* Check if this object has any children */
if (ACPI_SUCCESS (acpi_get_next_object (ACPI_TYPE_ANY, child_handle,
-
0
, &dummy))) {
+
NULL
, &dummy))) {
/*
* There is at least one child of this object,
* visit the object
*/
level++;
parent_handle = child_handle;
/*
* There is at least one child of this object,
* visit the object
*/
level++;
parent_handle = child_handle;
- child_handle =
0
;
+ child_handle =
NULL
;
}
}
else {
}
}
else {