Re: Problems with EDAC coexisting with BIOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 25 Apr 2006 16:25:59 -0700 Gross, Mark wrote:

> 
> How about printing nothing like it used too?
> 
> See attached.  
> 
> Signed-off-by: Mark Gross

Hi Mark,

This small patch will need some cleaning up:

1.  Signed-off-by: Mark Gross <[email protected]>

2.  Try not to use attachments.  If you must, then make the attachment
	type be text instead of octet-stream.

3.  No need to init to 0:
+static int force_function_unhide = 0;

4.  Typos:

+	/* check to see if device 0 function 1 is enbaled if it isn't we
                                                  enabled; it it isn't, we
+	 * assume the BIOS has reserved it for a reason and is expecting
+	 * exclusive access, we take care to not violate that assumption and
                                          not to violate
+	 * fail the probe. */

5.  indentation, typos, and at least one trailing space:

+	if (!force_function_unhide && !(stat8 & (1 << 5))) {
+		printk(KERN_INFO "contact your bios vendor to see if the " 
                                  Contact your BIOS
+		"E752x error registers can be safely un-hidden\n");
		^indent one more tab

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux