Re: [PATCH] stable: uio: Fix warning: 'ret' might be used uninitialized

2012-12-03 Thread Ben Hutchings
On Mon, 2012-12-03 at 08:41 +0100, Hans J. Koch wrote: > In two cases, the return value variable "ret" can be undefined. > > Signed-off-by: Hans J. Koch > Reported-by: Vitalii Demianets [...] This is not the correct way to submit patches to stable. See Documentation/stable_kernel_rules.txt Be

[PATCH] stable: uio: Fix warning: 'ret' might be used uninitialized

2012-12-02 Thread Hans J. Koch
In two cases, the return value variable "ret" can be undefined. Signed-off-by: Hans J. Koch Reported-by: Vitalii Demianets --- drivers/uio/uio.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index 5110f36..0c80df2 100644 --- a/d