lkml.org 
[lkml]   [2012]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@nvidia.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/


\
 
 \ /
  Last update: 2012-09-19 18:41    [W:0.047 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site