projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69a2ce7
)
dm ioctl: use uninitialized_var
author
Andrew Morton
<akpm@linux-foundation.org>
Fri, 8 Feb 2008 02:10:16 +0000
(
02:10
+0000)
committer
Alasdair G Kergon
<agk@redhat.com>
Fri, 8 Feb 2008 02:10:16 +0000
(
02:10
+0000)
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>
drivers/md/dm-ioctl.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-ioctl.c
b/drivers/md/dm-ioctl.c
index 9c491397a51d3d83270d1c515186ed1094ec79f1..b262c0042de3f79394d7ff46c61e36b68da29e48 100644
(file)
--- 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;