Re: [1/2] 2.6.22-rc7: known regressions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 6 Jul 2007, Dmitry Torokhov wrote:

> This is for devices using boot protocol, not full HID as far as I 
> understand.

David,

could you please try with the trivial patch below and report the output? 
I'd be interested to know whether we are by any chance really seeing 
double input_unregister_device() for the same input_dev somehow. Thanks.

diff --git a/drivers/input/input.c b/drivers/input/input.c
index ccd8aba..ed5adb4 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -1160,6 +1160,9 @@ void input_unregister_device(struct input_dev *dev)
 	struct input_handle *handle, *next;
 	int code;
 
+	printk(KERN_DEBUG "input_unregister_device for %p\n", dev);
+	dump_stack();
+
 	for (code = 0; code <= KEY_MAX; code++)
 		if (test_bit(code, dev->key))
 			input_report_key(dev, code, 0);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux