diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:19 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:22 -0500 |
commit | a4bbb810dedaecf74d54b16b6dd3c33e95e1024c (patch) | |
tree | 53c5cb4b1ba8bf36dcefec5529fa760ad4452185 /drivers/acpi/tables/tbxface.c | |
parent | 4bf273939c99fae5bae399f51c417a552d74b97f (diff) |
ACPICA: Lint changes
Lint changes
Move RSDT/XSDT pointer extraction to separate function
Warning on 32-bit platforms if XSDT pointers use more than 32 bits.
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/tables/tbxface.c')
-rw-r--r-- | drivers/acpi/tables/tbxface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c index 78ce542f3e67..13e8d6626dd4 100644 --- a/drivers/acpi/tables/tbxface.c +++ b/drivers/acpi/tables/tbxface.c | |||
@@ -102,9 +102,9 @@ acpi_initialize_tables(struct acpi_table_desc *initial_table_array, | |||
102 | } else { | 102 | } else { |
103 | /* Root Table Array has been statically allocated by the host */ | 103 | /* Root Table Array has been statically allocated by the host */ |
104 | 104 | ||
105 | ACPI_MEMSET(initial_table_array, | 105 | ACPI_MEMSET(initial_table_array, 0, |
106 | initial_table_count * | 106 | initial_table_count * |
107 | sizeof(struct acpi_table_desc), 0); | 107 | sizeof(struct acpi_table_desc)); |
108 | 108 | ||
109 | acpi_gbl_root_table_list.tables = initial_table_array; | 109 | acpi_gbl_root_table_list.tables = initial_table_array; |
110 | acpi_gbl_root_table_list.size = initial_table_count; | 110 | acpi_gbl_root_table_list.size = initial_table_count; |