Commit:     1dcfdf93f66375567ec563de74bbb8c295ac88df
Parent:     7c7e92a9268965e08bba853ecdb94fa55e886741
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 02:57:49 2008 +0100
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 02:57:49 2008 +0100

    drivers/ide/ide-acpi.c: fix uninitialized var warning
    drivers/ide/ide-acpi.c: In function 'ide_acpi_init':
    drivers/ide/ide-acpi.c:175: warning: 'dev_handle' may be used uninitialized 
in this function
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
 drivers/ide/ide-acpi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c
index 25aaeae..e07b189 100644
--- a/drivers/ide/ide-acpi.c
+++ b/drivers/ide/ide-acpi.c
@@ -171,7 +171,7 @@ err:
 static acpi_handle ide_acpi_hwif_get_handle(ide_hwif_t *hwif)
        struct device           *dev = hwif->gendev.parent;
-       acpi_handle             dev_handle;
+       acpi_handle             uninitialized_var(dev_handle);
        acpi_integer            pcidevfn;
        acpi_handle             chan_handle;
        int                     err;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to