Re: [PATCH] Fix hiddev's use of usb_find_interface

From: Guillaume Chazarain
Date: Mon Sep 13 2010 - 07:39:04 EST


On Mon, Sep 13, 2010 at 1:28 PM, Jiri Kosina <jkosina@xxxxxxx> wrote:
> Yeah -- Guillaume, I think that you are actually seeing symptoms of
> intfdata being bogus. Could you please try with any kernel with commit
> 9c9e54a8df0be48 ("HID: hiddev: fix memory corruption due to invalid
> intfdata") applied (which is the one Arnd is talking about) and report
> back whether the problem is fixed by it?

I also saw the problem with 2.6.36-rc3. My problem is with
usb_find_interface(&hiddev_driver) not finding anything and
9c9e54a8df0be48aa359744f412377cc55c3b7d2 did not change this line.

In its current state I don't understand how hiddev_open() can possibly
work. I see people reporting suspend issues and stack traces in dmesg
but nobody reporting the driver being non-functioning, which is what
I'm doing here.

Thanks.

--
Guillaume
--
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/