All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH 19/53][RESEND] cyberfb: Clean up printk()'s in
@ 2005-01-26 21:27 James Nelson
  0 siblings, 0 replies; only message in thread
From: James Nelson @ 2005-01-26 21:27 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

This patch adds KERN_ constants to all of the printk()'s that need them in
drivers/video/cyberfb.c - resent after fixing the driver name in one printk.

Signed-off-by: James Nelson <james4765@gmail.com>

diff -urN --exclude='*~' linux-2.6.11-rc2-mm1-original/drivers/video/cyberfb.c linux-2.6.11-rc2-mm1/drivers/video/cyberfb.c
--- linux-2.6.11-rc2-mm1-original/drivers/video/cyberfb.c	2005-01-24 17:15:49.000000000 -0500
+++ linux-2.6.11-rc2-mm1/drivers/video/cyberfb.c	2005-01-26 16:19:32.555776095 -0500
@@ -1061,7 +1061,7 @@
 		    return -EINVAL;
 	    }
 
-	    printk("fb%d: %s frame buffer device, using %ldK of video memory\n",
+	    pr_info("fb%d: %s frame buffer device, using %ldK of video memory\n",
 		   fb_info.node, fb_info.modename, CyberSize>>10);
 
 	    /* TODO: This driver cannot be unloaded yet */
@@ -1432,7 +1432,7 @@
 
 	DPRINTK("ENTER\n");
 	if (freq < 12500000 || freq > MAXPIXELCLOCK) {
-		printk("CV64 driver: Illegal clock frequency %ld, using 25MHz\n",
+		printk(KERN_WARNING "cyberfb: Illegal clock frequency %ld, using 25MHz\n",
 		       freq);
 		freq = 25000000;
 	}

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-26 21:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-26 21:27 [KJ] [PATCH 19/53][RESEND] cyberfb: Clean up printk()'s in James Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.