diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 17:48:19 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-03 03:14:22 +0100 |
commit | a4bbb810dedaecf74d54b16b6dd3c33e95e1024c (patch) | |
tree | 53c5cb4b1ba8bf36dcefec5529fa760ad4452185 /drivers/acpi/tables/tbxface.c | |
parent | ACPICA: Fix for FADT conversion in 64-bit mode (diff) | |
download | linux-a4bbb810dedaecf74d54b16b6dd3c33e95e1024c.tar.xz linux-a4bbb810dedaecf74d54b16b6dd3c33e95e1024c.zip |
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, } else { /* Root Table Array has been statically allocated by the host */ - ACPI_MEMSET(initial_table_array, + ACPI_MEMSET(initial_table_array, 0, initial_table_count * - sizeof(struct acpi_table_desc), 0); + sizeof(struct acpi_table_desc)); acpi_gbl_root_table_list.tables = initial_table_array; acpi_gbl_root_table_list.size = initial_table_count; |