lkml.org 
[lkml]   [2005]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.6.11.5] atkbd: suppress debug output (was: printk with anti-cluttering-feature)
On Mon, 21 Mar 2005, Andi Kleen wrote:
> Bodo Eggert <7eggert@gmx.de> 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 <7eggert@gmx.de>

--- 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: billing@mclchnfa.info nkFWbu@volksgemeinschaft.org
sparing@fuoje43.com w@7eggert.dyndns.org service@xsalez.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-06 13:30    [W:2.304 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site