[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120919160237.GL28670@sortiz-mobl>
Date: Wed, 19 Sep 2012 18:02:37 +0200
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Venu Byravarasu <vbyravarasu@...dia.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: rc5t583: Fix warning messages
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@...dia.com>
> ---
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists