diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-10-02 13:24:10 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-10-10 00:18:31 -0400 |
commit | 8ab7367f483d1d676d61fca58498a73b194dda82 (patch) | |
tree | db8324aa61f32bbf03abc60588ff6eb31a5120de /drivers/acpi/tables | |
parent | 03e2bf261e832abf48d40113ce08a70338dd18c9 (diff) | |
download | linux-stable-8ab7367f483d1d676d61fca58498a73b194dda82.tar.gz linux-stable-8ab7367f483d1d676d61fca58498a73b194dda82.tar.bz2 linux-stable-8ab7367f483d1d676d61fca58498a73b194dda82.zip |
ACPI: suppress uninitialized var warning
drivers/acpi/tables/tbutils.c: In function `acpi_tb_parse_root_table':
drivers/acpi/tables/tbutils.c:403: warning: `rsdt_address' may be used uninitialized in this function
Reported-by: Uwe Bugla <uwe.bugla@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/tables')
-rw-r--r-- | drivers/acpi/tables/tbutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/tables/tbutils.c b/drivers/acpi/tables/tbutils.c index 8cc9492ffbf2..5f1d85f2ffe4 100644 --- a/drivers/acpi/tables/tbutils.c +++ b/drivers/acpi/tables/tbutils.c @@ -400,7 +400,7 @@ acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags) u32 table_count; struct acpi_table_header *table; acpi_physical_address address; - acpi_physical_address rsdt_address; + acpi_physical_address uninitialized_var(rsdt_address); u32 length; u8 *table_entry; acpi_status status; |