summaryrefslogtreecommitdiff
path: root/drivers/acpi/tables
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-02-14 03:11:36 +0300
committerLen Brown <len.brown@intel.com>2007-02-16 06:19:07 +0300
commit70c0846e430881967776582e13aefb81407919f1 (patch)
tree339051da147f7f08b1bbc1f3f7eb9b7185a23c02 /drivers/acpi/tables
parentf3ccb06f3b8e0cf42b579db21f3ca7f17fcc3f38 (diff)
downloadlinux-70c0846e430881967776582e13aefb81407919f1.tar.xz
ACPI: Fix sparse warnings
Use NULL for pointers drivers/acpi/osl.c:208:10: warning: Using plain integer as NULL pointer drivers/acpi/tables/tbxface.c:411:49: warning: Using plain integer as NULL pointer drivers/acpi/processor_core.c:1008:10: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/tables')
-rw-r--r--drivers/acpi/tables/tbxface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c
index 807978d5381a..81937003fd53 100644
--- a/drivers/acpi/tables/tbxface.c
+++ b/drivers/acpi/tables/tbxface.c
@@ -408,7 +408,7 @@ acpi_get_table(char *signature,
}
if (!acpi_gbl_permanent_mmap) {
- acpi_gbl_root_table_list.tables[i].pointer = 0;
+ acpi_gbl_root_table_list.tables[i].pointer = NULL;
}
return (status);