Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a26ffd4aa99d6ace82852930edf09e450cc7dc8d
Commit:     a26ffd4aa99d6ace82852930edf09e450cc7dc8d
Parent:     69a2ce72a4efe0653479a5d69fc86b5726e83219
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 8 02:10:16 2008 +0000
Committer:  Alasdair G Kergon <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 02:10:16 2008 +0000

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

diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c
index 9c49139..b262c00 100644
--- a/drivers/md/dm-ioctl.c
+++ b/drivers/md/dm-ioctl.c
@@ -1402,7 +1402,7 @@ static int ctl_ioctl(uint command, struct dm_ioctl __user 
*user)
 {
        int r = 0;
        unsigned int cmd;
-       struct dm_ioctl *param;
+       struct dm_ioctl *uninitialized_var(param);
        ioctl_fn fn = NULL;
        size_t param_size;
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to