diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 19:48:19 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-03 05:14:22 +0300 |
commit | a4bbb810dedaecf74d54b16b6dd3c33e95e1024c (patch) | |
tree | 53c5cb4b1ba8bf36dcefec5529fa760ad4452185 /drivers/acpi/tables/tbxface.c | |
parent | 4bf273939c99fae5bae399f51c417a552d74b97f (diff) | |
download | linux-a4bbb810dedaecf74d54b16b6dd3c33e95e1024c.tar.xz |
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; |