Re: [PATCH] mfd: rc5t583: Fix warning messages

From: Samuel Ortiz
Date: Wed Sep 19 2012 - 12:02:46 EST


Hi Venu,

On Thu, Aug 23, 2012 at 12:21:16PM +0530, Venu Byravarasu wrote:
> Two variables named master_int and sleepseq_val, were just
> declared without initialization. Pointers to these variables
> were passed to mfd read function. After that these variables
> were used for some of the logical operations.
>
> Though logically there is nothing wrong, compiler is complaining
> that the variables may be used uninitialized.
>
> Hence fixing these warning messages by initializing them.
>
> Signed-off-by: Venu Byravarasu <vbyravarasu@xxxxxxxxxx>
> ---
> drivers/mfd/rc5t583-irq.c | 2 +-
> drivers/mfd/rc5t583.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/