Sachin Kamat wrote: > > 'ret' is undefined when the function returns from the first > 'if' condition. Without this patch we get the following warning: > > 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] > > Suggested-by: Jonghwan Choi <jhbird.choi@xxxxxxxxxxx> I modified above to 'Reported-by' because checkpatch complains like following... WARNING: Non-standard signature: Suggested-by: #10: Suggested-by: Jonghwan Choi <jhbird.choi@xxxxxxxxxxx> > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > --- > drivers/cpufreq/exynos-cpufreq.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > Applied, thanks. - Kukjin -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html