aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-02-07 21:10:16 -0500
committerAlasdair G Kergon <agk@redhat.com>2008-02-07 21:10:16 -0500
commita26ffd4aa99d6ace82852930edf09e450cc7dc8d (patch)
treed00f229139f52f71ffeabc66b1d5b6fdd5fa67a7
parent69a2ce72a4efe0653479a5d69fc86b5726e83219 (diff)
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 <akpm@linux-foundation.org> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
-rw-r--r--drivers/md/dm-ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c
index 9c491397a51d..b262c0042de3 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)
1402{ 1402{
1403 int r = 0; 1403 int r = 0;
1404 unsigned int cmd; 1404 unsigned int cmd;
1405 struct dm_ioctl *param; 1405 struct dm_ioctl *uninitialized_var(param);
1406 ioctl_fn fn = NULL; 1406 ioctl_fn fn = NULL;
1407 size_t param_size; 1407 size_t param_size;
1408 1408