Skip to contentSkip to conversation

cg14: Clean up printk()'s in drivers/video/cg14.c

PATCH Superseded James Nelson 2 participants 2 messages Jan 25, 2005 – Jan 26, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 10/53 cg14: Clean up printk()'s in drivers/video/cg14.c

This patch adds KERN_ constants to all of the printk()'s that need them in drivers/video/cg14.c

drivers/video/cg14.c +1 -1
diff -urN --exclude='*~' linux-2.6.11-rc2-mm1-original/drivers/video/cg14.c linux-2.6.11-rc2-mm1/drivers/video/cg14.c
@@ -582,7 +582,7 @@
 
 	list_add(&all->list, &cg14_list);
 
-	printk("cg14: cgfourteen at %lx:%lx, %dMB\n",
+	pr_info("cg14: cgfourteen at %lx:%lx, %dMB\n",
 	       all->par.iospace, all->par.physbase, all->par.ramsize >> 20);
 
 }

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

Re: [KJ] [PATCH 10/53] cg14: Clean up printk()'s in

drivers/video/cg14.c line 585

Quoted 5 lines · James Nelson
drivers/video/cg14.c +1 -1
 
-	printk("cg14: cgfourteen at %lx:%lx, %dMB\n",
+	pr_info("cg14: cgfourteen at %lx:%lx, %dMB\n",
		       ^^^^^^^^^^

Nice duplication, isn't it? :-)

Alexey

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors