mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
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>
This commit is contained in:
parent
69a2ce72a4
commit
a26ffd4aa9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue