summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-10-02 22:24:10 +0200
committerLen Brown <len.brown@intel.com>2007-10-10 06:18:31 +0200
commit8ab7367f483d1d676d61fca58498a73b194dda82 (patch)
treedb8324aa61f32bbf03abc60588ff6eb31a5120de /drivers/acpi/tables
parentacpi_video: kernel build error if !INPUT (diff)
downloadlinux-8ab7367f483d1d676d61fca58498a73b194dda82.tar.xz
linux-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.c2
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;