[PATCH] staging: comedi: fix potentially uninitialised variable

Dan Carpenter dan.carpenter at oracle.com
Sun Nov 10 21:28:35 UTC 2013


On Sun, Nov 10, 2013 at 07:37:49PM +0100, Michal Nazarewicz wrote:
> From: Michal Nazarewicz <mina86 at mina86.com>
> 
> 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 line and it has to match your email address
which you used to send the email.

Otherwise, the patch is good an fixes an important bug.

regards,
dan carpenter


More information about the devel mailing list