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-02 21:14:22 -0500 |
commit | a4bbb810dedaecf74d54b16b6dd3c33e95e1024c (patch) | |
tree | 53c5cb4b1ba8bf36dcefec5529fa760ad4452185 /drivers/acpi/tables/tbxface.c | |
parent | 4bf273939c99fae5bae399f51c417a552d74b97f (diff) | |
download | kernel_samsung_smdk4412-a4bbb810dedaecf74d54b16b6dd3c33e95e1024c.zip kernel_samsung_smdk4412-a4bbb810dedaecf74d54b16b6dd3c33e95e1024c.tar.gz kernel_samsung_smdk4412-a4bbb810dedaecf74d54b16b6dd3c33e95e1024c.tar.bz2 |
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 78ce542..13e8d66 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; |