From: Stefano Babic Date: Mon, 2 Apr 2012 06:18:49 +0000 (+0000) Subject: ARM: 926ejs: use debug() for misaligned addresses X-Git-Tag: v2012.04-rc2~1^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8d9ceaf061c5ea5c17ee9e95dbff563e41904c0;p=platform%2Fkernel%2Fu-boot.git ARM: 926ejs: use debug() for misaligned addresses Misaligned warnings are useful to debug faulty drivers. A misaligned warning is printed also when the driver is correct - use debug() instead of printf(). Signed-off-by: Stefano Babic CC: Albert Aribaud CC: Mike Frysinger CC: Marek Vasut Acked-by: Marek Vasut --- diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c index 5b23e3a..4430578 100644 --- a/arch/arm/cpu/arm926ejs/cache.c +++ b/arch/arm/cpu/arm926ejs/cache.c @@ -55,7 +55,7 @@ static int check_cache_range(unsigned long start, unsigned long stop) ok = 0; if (!ok) - printf("CACHE: Misaligned operation at range [%08lx, %08lx]\n", + debug("CACHE: Misaligned operation at range [%08lx, %08lx]\n", start, stop); return ok;