Slideshow ^ |< << Slide 4 of 12 >> >| |
Linux -- Patch example
example (original):
From: Jean Delvare <khali@linux-fr.org> Date: Sat, 21 Feb 2009 11:00:20 +0000 (+0100) Subject: hwmon: (f71882fg) Hide misleading error message If the F71882FG chip is at address 0x4e, then the probe at 0x2e will fail with the following message in the logs: [...] --- diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c index 67067e9..71556e6 100644 --- a/drivers/hwmon/f71882fg.c +++ b/drivers/hwmon/f71882fg.c @@ -837,7 +837,7 @@ static int __init f71882fg_find(int sioaddr, unsigned short *address) devid = superio_inw(sioaddr, SIO_REG_MANID); if (devid != SIO_FINTEK_ID) { - printk(KERN_INFO DRVNAME ": Not a Fintek device\n"); + pr_debug(DRVNAME ": Not a Fintek device\n"); goto exit; }
- references:
Patch, Wikipedia;
Slideshow ^ |< << Slide 4 of 12 >> >| |