Commit:     69a2ce72a4efe0653479a5d69fc86b5726e83219
Parent:     e48b9db251122b88783844b1d2d69c6780f898ff
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 8 02:10:14 2008 +0000
Committer:  Alasdair G Kergon <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 02:10:14 2008 +0000

    dm: table use uninitialized_var
    drivers/md/dm-table.c: In function 'dm_get_device':
    drivers/md/dm-table.c:478: warning: 'dev' may be used uninitialized in this 
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Alasdair G Kergon <[EMAIL PROTECTED]>
 drivers/md/dm-table.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c
index 444a4fb..f160629 100644
--- a/drivers/md/dm-table.c
+++ b/drivers/md/dm-table.c
@@ -475,7 +475,7 @@ static int __table_get_device(struct dm_table *t, struct 
dm_target *ti,
                              int mode, struct dm_dev **result)
        int r;
-       dev_t dev;
+       dev_t uninitialized_var(dev);
        struct dm_dev *dd;
        unsigned int major, minor;
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