summaryrefslogtreecommitdiffstats
path: root/linux-2.6-input-kill-stupid-messages.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2012-05-25 09:03:50 -0400
committerJosh Boyer <jwboyer@redhat.com>2012-05-25 09:03:50 -0400
commite3ad20d482bb27ca42482280692ece86f0876904 (patch)
treecbcc2ac4e422ef802ef4a18c41256acede4be0a6 /linux-2.6-input-kill-stupid-messages.patch
parent2a6c66eb954a997fd019c5465cc46662b6acaf34 (diff)
downloadkernel-e3ad20d482bb27ca42482280692ece86f0876904.tar.gz
kernel-e3ad20d482bb27ca42482280692ece86f0876904.tar.xz
kernel-e3ad20d482bb27ca42482280692ece86f0876904.zip
Linux v3.4-7644-g07acfc2
Diffstat (limited to 'linux-2.6-input-kill-stupid-messages.patch')
-rw-r--r--linux-2.6-input-kill-stupid-messages.patch20
1 files changed, 4 insertions, 16 deletions
diff --git a/linux-2.6-input-kill-stupid-messages.patch b/linux-2.6-input-kill-stupid-messages.patch
index cc1dd7470..ff7023f51 100644
--- a/linux-2.6-input-kill-stupid-messages.patch
+++ b/linux-2.6-input-kill-stupid-messages.patch
@@ -1,32 +1,20 @@
-From b2c6d55b2351152696aafb8c9bf3ec8968acf77c Mon Sep 17 00:00:00 2001
-From: Kyle McMartin <kyle@phobos.i.jkkm.org>
-Date: Mon, 29 Mar 2010 23:59:58 -0400
-Subject: linux-2.6-input-kill-stupid-messages
-
----
- drivers/input/keyboard/atkbd.c | 5 +++++
- 1 files changed, 5 insertions(+), 0 deletions(-)
-
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
-index d358ef8..38db098 100644
+index add5ffd..5eb2f03 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
-@@ -425,11 +426,15 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data,
+@@ -430,11 +430,15 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data,
goto out;
case ATKBD_RET_ACK:
case ATKBD_RET_NAK:
-+#if 0
++# if 0
+ /* Quite a few key switchers and other tools trigger this
+ * and it confuses people who can do nothing about it */
if (printk_ratelimit())
dev_warn(&serio->dev,
"Spurious %s on %s. "
- "Some program might be trying access hardware directly.\n",
+ "Some program might be trying to access hardware directly.\n",
data == ATKBD_RET_ACK ? "ACK" : "NAK", serio->phys);
+#endif
goto out;
case ATKBD_RET_ERR:
atkbd->err_count++;
---
-1.7.0.1
-