aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-08-06 12:01:24 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-13 21:50:24 -0400
commitb0d436c739b0d4afcdfe2e97d4d1ee41ea2db62e (patch)
treee1bcbf43d70097c6b86cc53e5a4583643bf42b3b /arch/powerpc/kernel/setup_64.c
parenta0a96ee9ba9ea188dee9126dbb404ff6253318cd (diff)
powerpc: Fix a number of sparse warnings
Address some of the trivial sparse warnings in arch/powerpc. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index f03770e0fc8d..79ba9b77fe72 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -325,7 +325,7 @@ static void __init initialize_cache_info(void)
325 NULL); 325 NULL);
326 if (lsizep != NULL) 326 if (lsizep != NULL)
327 lsize = *lsizep; 327 lsize = *lsizep;
328 if (sizep == 0 || lsizep == 0) 328 if (sizep == NULL || lsizep == NULL)
329 DBG("Argh, can't find dcache properties ! " 329 DBG("Argh, can't find dcache properties ! "
330 "sizep: %p, lsizep: %p\n", sizep, lsizep); 330 "sizep: %p, lsizep: %p\n", sizep, lsizep);
331 331
@@ -347,7 +347,7 @@ static void __init initialize_cache_info(void)
347 NULL); 347 NULL);
348 if (lsizep != NULL) 348 if (lsizep != NULL)
349 lsize = *lsizep; 349 lsize = *lsizep;
350 if (sizep == 0 || lsizep == 0) 350 if (sizep == NULL || lsizep == NULL)
351 DBG("Argh, can't find icache properties ! " 351 DBG("Argh, can't find icache properties ! "
352 "sizep: %p, lsizep: %p\n", sizep, lsizep); 352 "sizep: %p, lsizep: %p\n", sizep, lsizep);
353 353