lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20071211151859.GA7965@doriath.ww600.siemens.net>
Date:	Tue, 11 Dec 2007 18:18:59 +0300
From:	Dmitry Baryshkov <dbaryshkov@...il.com>
To:	linux-input@...ey.karlin.mff.cuni.cz
Cc:	dmitry.torokhov@...il.com, linux-kernel@...r.kernel.org
Subject: [PATCH] handle EV_PWR in input_set_capability

Handle EV_PWR type of input caps.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@...il.com>

Index: linux-test/drivers/input/input.c
===================================================================
--- linux-test.orig/drivers/input/input.c	2007-12-11 17:47:37.736228749 +0300
+++ linux-test/drivers/input/input.c	2007-12-11 17:47:52.620224309 +0300
@@ -1080,6 +1080,10 @@ void input_set_capability(struct input_d
 		__set_bit(code, dev->ffbit);
 		break;
 
+	case EV_PWR:
+		/* do nothing */
+		break;
+
 	default:
 		printk(KERN_ERR
 			"input_set_capability: unknown type %u (code %u)\n",
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ