PATCH: virtual_printk.patch

Subsystems: framebuffer layer, the rest

2 messages, 2 authors, 2005-06-23 · open the first message on its own page

PATCH: virtual_printk.patch

From: Jon Smirl <hidden>
Date: 2005-06-23 19:47:58

Patch to remove unneeded fbsysfs printk.

--
Jon Smirl
jonsmirl@gmail.com

#Remove unneeded fbsysfs printk
#Signed-off-by: Jon Smirl [off-list ref]
diff --git a/drivers/video/fbsysfs.c b/drivers/video/fbsysfs.c
--- a/drivers/video/fbsysfs.c
+++ b/drivers/video/fbsysfs.c
@@ -228,8 +228,6 @@ static ssize_t store_virtual(struct clas
 	if (last - buf >= count)
 		return -EINVAL;
 	var.yres_virtual = simple_strtoul(last, &last, 0);
-	printk(KERN_ERR "fb: xres %d yres %d\n", var.xres_virtual,
-	       var.yres_virtual);
 
 	if ((err = activate(fb_info, &var)))
 		return err;
 }
 
 static ssize_t store_cmap(struct class_device *class_device, const char * buf,


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click

Re: PATCH: virtual_printk.patch

From: James Simmons <hidden>
Date: 2005-06-23 20:36:43

Please apply.

Signed-off-by: Jon Smirl <redacted>


On Thu, 23 Jun 2005, Jon Smirl wrote:
quoted hunk
Patch to remove unneeded fbsysfs printk.

--
Jon Smirl
jonsmirl@gmail.com

#Remove unneeded fbsysfs printk
#Signed-off-by: Jon Smirl [off-list ref]
diff --git a/drivers/video/fbsysfs.c b/drivers/video/fbsysfs.c
--- a/drivers/video/fbsysfs.c
+++ b/drivers/video/fbsysfs.c
@@ -228,8 +228,6 @@ static ssize_t store_virtual(struct clas
 	if (last - buf >= count)
 		return -EINVAL;
 	var.yres_virtual = simple_strtoul(last, &last, 0);
-	printk(KERN_ERR "fb: xres %d yres %d\n"

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help