public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/11] input: HID devices can have the same logical max and min
@ 2003-06-21 13:51 Vojtech Pavlik
  2003-06-21 13:51 ` [PATCH 2/11] input: Fix misdetection of PS/2 mice as AT keyboards Vojtech Pavlik
  0 siblings, 1 reply; 11+ messages in thread
From: Vojtech Pavlik @ 2003-06-21 13:51 UTC (permalink / raw)
  To: torvalds, linux-kernel

You can pull this changeset from:
	bk://kernel.bkbits.net/vojtech/input

===================================================================

ChangeSet@1.1359, 2003-06-21 04:32:06-07:00, A.Wegele@tu-bs.de
  input: logical maximum and minimum can have the same value in HID.


 hid-core.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

===================================================================

diff -Nru a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
--- a/drivers/usb/input/hid-core.c	Sat Jun 21 15:24:52 2003
+++ b/drivers/usb/input/hid-core.c	Sat Jun 21 15:24:52 2003
@@ -215,7 +215,7 @@
 		return -1;
 	}
 
-	if (parser->global.logical_maximum <= parser->global.logical_minimum) {
+	if (parser->global.logical_maximum < parser->global.logical_minimum) {
 		dbg("logical range invalid %d %d", parser->global.logical_minimum, parser->global.logical_maximum);
 		return -1;
 	}


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-06-21 13:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-21 13:51 [PATCH 1/11] input: HID devices can have the same logical max and min Vojtech Pavlik
2003-06-21 13:51 ` [PATCH 2/11] input: Fix misdetection of PS/2 mice as AT keyboards Vojtech Pavlik
2003-06-21 13:51   ` [PATCH 3/11] input: Add locking to serio.c Vojtech Pavlik
2003-06-21 13:51     ` [PATCH 4/11] input: Remove unused var from serio struct Vojtech Pavlik
2003-06-21 13:51       ` [PATCH 5/11] input: Gameport was never closed after calibrating Vojtech Pavlik
2003-06-21 13:51         ` [PATCH 6/11] input: Add Logitech MX PS2++ support Vojtech Pavlik
2003-06-21 13:51           ` [PATCH 7/11] input: Fixes for the uinput userspace Vojtech Pavlik
2003-06-21 13:51             ` [PATCH 8/11] input: Change order of search for beeper devices in keyboard.c Vojtech Pavlik
2003-06-21 13:51               ` [PATCH 9/11] input: Fix double kfree of device->rdesc in hid-core Vojtech Pavlik
2003-06-21 13:51                 ` [PATCH 10/11] input: Fixes for sidewinder.c Vojtech Pavlik
2003-06-21 13:51                   ` [PATCH 11/11] input: Make GC_PSX_DELAY lower and configurable Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox