[Cbe-oss-dev] [PATCH] cell: add missing '\n'

Ishizaki Kou kou.ishizaki at toshiba.co.jp
Thu Nov 1 21:04:04 EST 2007


Two printk() calls were missing the terminating '\n'.

Signed-off-by: Kou Ishizaki <kou.ishizaki at toshiba.co.jp>
---
Index: linux-powerpc-git/arch/powerpc/platforms/cell/spu_manage.c
diff -u linux-powerpc-git/arch/powerpc/platforms/cell/spu_manage.c:1.1.1.8 linux-powerpc-git/arch/powerpc/platforms/cell/spu_manage.c:1.6
--- linux-powerpc-git/arch/powerpc/platforms/cell/spu_manage.c:1.1.1.8	Wed Oct  3 16:02:46 2007
+++ linux-powerpc-git/arch/powerpc/platforms/cell/spu_manage.c	Wed Oct  3 17:30:58 2007
@@ -345,7 +345,7 @@
 		}
 		ret = spu_map_interrupts_old(spu, spe);
 		if (ret) {
-			printk(KERN_ERR "%s: could not map interrupts",
+			printk(KERN_ERR "%s: could not map interrupts\n",
 				spu->name);
 			goto out_unmap;
 		}
@@ -525,7 +525,7 @@
 		if (of_flat_dt_is_compatible(root, "IBM,CPBW-1.0"))
 			init_affinity_qs20_harcoded();
 		else
-			printk("No affinity configuration found");
+			printk("No affinity configuration found\n");
 	}
 
 	return 0;



More information about the cbe-oss-dev mailing list