From 5cf999c69175234fcbbe65c4e33dacba459018e9 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 14 Dec 2007 12:13:12 +0100 Subject: [PATCH] --- yaml --- r: 81549 b: refs/heads/master c: 5050b0921a0f838314b1b9c4d7c16d5c8ed8c1fc h: refs/heads/master i: 81547: 9405570fb6eb6c9ca8289e576ebd3f66d21adc82 v: v3 --- [refs] | 2 +- trunk/sound/core/control_compat.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ec5d8c68f271..29293f33b9e5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6b587ef9a15fa2e1859faf5a8937702ef6c12616 +refs/heads/master: 5050b0921a0f838314b1b9c4d7c16d5c8ed8c1fc diff --git a/trunk/sound/core/control_compat.c b/trunk/sound/core/control_compat.c index 9311ca397bbc..6101259ad860 100644 --- a/trunk/sound/core/control_compat.c +++ b/trunk/sound/core/control_compat.c @@ -219,7 +219,8 @@ static int copy_ctl_value_from_user(struct snd_card *card, struct snd_ctl_elem_value32 __user *data32, int *typep, int *countp) { - int i, type, count, size; + int i, type, size; + int uninitialized_var(count); unsigned int indirect; if (copy_from_user(&data->id, &data32->id, sizeof(data->id)))