All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Ortiz <sameo@linux.intel.com>
To: Venu Byravarasu <vbyravarasu@nvidia.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mfd: rc5t583: Fix warning messages
Date: Wed, 19 Sep 2012 18:02:37 +0200	[thread overview]
Message-ID: <20120919160237.GL28670@sortiz-mobl> (raw)
In-Reply-To: <1345704676-25778-1-git-send-email-vbyravarasu@nvidia.com>

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/

      reply	other threads:[~2012-09-19 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23  6:51 [PATCH] mfd: rc5t583: Fix warning messages Venu Byravarasu
2012-09-19 16:02 ` Samuel Ortiz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120919160237.GL28670@sortiz-mobl \
    --to=sameo@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vbyravarasu@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.