Re: [PATCH] HID: wacom: Fix invalid power_supply_powers calls
From: <hidden>
Date: 2012-02-06 17:44:42
Also in:
lkml
From: <hidden>
Date: 2012-02-06 17:44:42
Also in:
lkml
On 02/06/2012 04:42 AM, Jiri Kosina wrote:quoted
On Mon, 6 Feb 2012, przemo@firszt.eu wrote:quoted
quoted
Hmm, seems valid. How did you notice? Have you seen crashes because of wild pointers?Hi Jiri, Yes, the driver was unusable - 100% crashes during connection.Okay, I thought that'd be the case.Very sorry about that. I don't have a device to test with, so I should have reviewed the code extra carefully. Does the same bug apply to the Wii changes, which were of the same form?
Hi Jeremy, The wii code looks the same, so probably it's affected as well. Can you make a patch? power_supply_powers call in wiimote driver: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/hid/hid-wiimote-core.c#l1229 regards, Przemo Firszt