Re: [PATCH] staging: comedi: fix potentially uninitialised variable

2013-11-10 Thread Dan Carpenter
On Sun, Nov 10, 2013 at 07:37:49PM +0100, Michal Nazarewicz wrote: > From: Michal Nazarewicz > > If none of the if conditions take a true path, the ret variable will > never be assigned a value. Don't use a From: unless you are sending it on behalf of another sender. You need a Signed-off-by li

[PATCH] staging: comedi: fix potentially uninitialised variable

2013-11-10 Thread Michal Nazarewicz
From: Michal Nazarewicz If none of the if conditions take a true path, the ret variable will never be assigned a value. --- drivers/staging/comedi/drivers/vmk80xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/vmk80xx.c b/drivers/staging/com