rpms/kernel/F-11 linux-2.6-shut-up-efifb.patch,NONE,1.1

Matthew Garrett mjg59 at fedoraproject.org
Thu Apr 2 16:41:09 UTC 2009


Author: mjg59

Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24618

Added Files:
	linux-2.6-shut-up-efifb.patch 
Log Message:
Add the EFIfb patch`


linux-2.6-shut-up-efifb.patch:

--- NEW FILE linux-2.6-shut-up-efifb.patch ---
--- vanilla-2.6.29/drivers/video/efifb.c	2009-03-23 23:12:14.000000000 +0000
+++ linux-2.6.29.noarch/drivers/video/efifb.c	2009-04-01 19:24:01.000000000 +0100
@@ -208,12 +208,15 @@
 	unsigned int size_total;
 	int request_succeeded = 0;
 
-	printk(KERN_INFO "efifb: probing for efifb\n");
-
 	if (!screen_info.lfb_depth)
 		screen_info.lfb_depth = 32;
 	if (!screen_info.pages)
 		screen_info.pages = 1;
+	if (!screen_info.lfb_base) {
+		printk(KERN_DEBUG "efifb: invalid framebuffer address\n");
+		return -ENODEV;
+	}
+	printk(KERN_INFO "efifb: probing for efifb\n");
 
 	/* just assume they're all unset if any are */
 	if (!screen_info.blue_size) {




More information about the scm-commits mailing list