mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Anders Roxell <anders.roxell@linaro.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] firmware: arm_scmi: prevent accessing rate_discrete uninitialized
Date: Tue, 20 Mar 2018 16:36:30 +0000	[thread overview]
Message-ID: <2f747a8a-3649-b78a-e4f3-4bd8fba66e60@arm.com> (raw)
In-Reply-To: <20180316114442.9536-1-anders.roxell@linaro.org>

Hi Anders,

On 16/03/18 11:44, Anders Roxell wrote:
> gcc-5.3 and earlier warns that rate_discrete maybe-uninitialized
>     ../drivers/firmware/arm_scmi/clock.c:185:5: warning: 'rate_discrete'
>         may be used uninitialized in this function [-Wmaybe-uninitialized]
>       if (rate_discrete)
>          ^
>     ../drivers/firmware/arm_scmi/clock.c:128:7: note:
>         'rate_discrete' was declared here
>       bool rate_discrete;
>            ^
> 
Thanks for the fix, applied.

-- 
Regards,
Sudeep

      reply	other threads:[~2018-03-20 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16 11:44 Anders Roxell
2018-03-20 16:36 ` Sudeep Holla [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=2f747a8a-3649-b78a-e4f3-4bd8fba66e60@arm.com \
    --to=sudeep.holla@arm.com \
    --cc=anders.roxell@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®