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

From: Bodo Eggert
Date: Thu Mar 24 2005 - 21:02:44 EST


On Mon, 21 Mar 2005, Andi Kleen wrote:
> Bodo Eggert <7eggert@xxxxxx> 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@xxxxxx>

--- 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@xxxxxxxxxxxxx nkFWbu@xxxxxxxxxxxxxxxxxxxxx
sparing@xxxxxxxxxxx w@xxxxxxxxxxxxxxxxxx service@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/