From: Kukjin Kim <kgene.kim@samsung.com>
To: 'Jingoo Han' <jg1.han@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org, rjw@sisk.pl, jhbird.choi@samsung.com
Subject: RE: [PATCH] cpufreq: exynos: add missing variable initialization
Date: Mon, 04 Feb 2013 21:00:58 -0800 [thread overview]
Message-ID: <124501ce035d$ca953120$5fbf9360$@samsung.com> (raw)
In-Reply-To: <000301ce0348$43aec960$cb0c5c20$%han@samsung.com>
Jingoo Han wrote:
>
> Fixed build warning as below:
>
> drivers/cpufreq/exynos-cpufreq.c: In function 'exynos_target':
> drivers/cpufreq/exynos-cpufreq.c:182:2: warning: 'ret' may be used
> uninitialized in this function [-Wuninitialized]
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> ---
> drivers/cpufreq/exynos-cpufreq.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-
> cpufreq.c
> index 88401ba..4268e46 100644
> --- a/drivers/cpufreq/exynos-cpufreq.c
> +++ b/drivers/cpufreq/exynos-cpufreq.c
> @@ -159,7 +159,7 @@ static int exynos_target(struct cpufreq_policy
*policy,
> {
> struct cpufreq_frequency_table *freq_table = exynos_info-
> >freq_table;
> unsigned int index;
> - int ret;
> + int ret = 0;
>
> mutex_lock(&cpufreq_lock);
>
> --
> 1.7.2.5
I already applied Sachin's patch for this.
http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg15019.html
Thanks.
- Kukjin
prev parent reply other threads:[~2013-02-05 5:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-05 2:26 [PATCH] cpufreq: exynos: add missing variable initialization Jingoo Han
2013-02-05 5:00 ` Kukjin Kim [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='124501ce035d$ca953120$5fbf9360$@samsung.com' \
--to=kgene.kim@samsung.com \
--cc=jg1.han@samsung.com \
--cc=jhbird.choi@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=rjw@sisk.pl \
/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.