[PATCH 2.6.11.5] atkbd: suppress debug output (was: printk with anti-cluttering-feature)

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

 



On Mon, 21 Mar 2005, Andi Kleen wrote:
> Bodo Eggert <[email protected]> writes:

> > atkbd.c: Keyboard on isa0060/serio0 reports too many keys pressed.
> >  (I'm using a keyboard switch and a IBM PS/2 keyboard)
> 
> This one should be just taken out. It is as far as I can figure out
> completely useless and happens on most machines.

Signed-off-by: Bodo Eggert <[email protected]>

--- linux-2.6.11/drivers/input/keyboard/atkbd.c	2005-03-20 21:50:52.000000000 +0100
+++ linux-2.6.11.new/drivers/input/keyboard/atkbd.c	2005-03-25 01:06:50.000000000 +0100
@@ -320,7 +320,9 @@ static irqreturn_t atkbd_interrupt(struc
 			atkbd_report_key(&atkbd->dev, regs, KEY_HANJA, 3);
 			goto out;
 		case ATKBD_RET_ERR:
+#ifdef ATKBD_DEBUG
 			printk(KERN_DEBUG "atkbd.c: Keyboard on %s reports too many keys pressed.\n", serio->phys);
+#endif
 			goto out;
 	}
 
-- 
If you can't remember, then the claymore IS pointed at you. 

Friß, Spammer: [email protected] [email protected]
 [email protected] [email protected] [email protected]
-
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