From: Cong Ding Date: Fri, 18 Jan 2013 16:58:23 +0000 (-0800) Subject: ARM: S3C24XX: fix uninitialized variable warning X-Git-Tag: firefly_0821_release~3680^2~1076^2~6^2~4^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=813f13e7d6ad239bb1003041f4cfae13ae27b14d;p=firefly-linux-kernel-4.4.55.git ARM: S3C24XX: fix uninitialized variable warning the use of variable tmp is uninitialized, so we fix it. Signed-off-by: Cong Ding Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c index 0c9e9a785ef6..6bcf87f65f9e 100644 --- a/arch/arm/mach-s3c24xx/common.c +++ b/arch/arm/mach-s3c24xx/common.c @@ -197,7 +197,7 @@ static unsigned long s3c24xx_read_idcode_v4(void) static void s3c24xx_default_idle(void) { - unsigned long tmp; + unsigned long tmp = 0; int i; /* idle the system by using the idle mode which will wait for an