Messages in this thread | | | Date | Wed, 19 Sep 2012 18:02:37 +0200 | From | Samuel Ortiz <> | 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@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/
| |