[Precise][SRU][PATCH 0/2] HID: wiimote: fix invalid power_supply_powers call

Luis Henriques luis.henriques at canonical.com
Tue Sep 11 14:15:36 UTC 2012


BugLink: http://bugs.launchpad.net/bugs/1048605

== SRU Justification ==

When pairing a wiimote on 12.04, a NULL pointer dereference in the
kernel will occur, preventing the usage of this h/w. 

== Fix ==

The problem is that the upstream commit
217c8b2b1978aa4a02ce040a99c59ed3b6418fe5 has been only partially
cherry-picked in Precise by commit
ed326b8c4c653ce643f1cade74cd76c538170b64.

This fix reverts this partial application and cherry-picks the commit
again.

== Test Case ==

This issue can be reproduced by pressing 1+2 on the wiimote and
connecting to the device from gnome-bluetooth.  The result will be a
NULL pointer dereference in the kernel.

Jiri Kosina (1):
  HID: wiimote: fix invalid power_supply_powers call

Luis Henriques (1):
  Revert "HID: wiimote: fix invalid power_supply_powers call"

 drivers/hid/hid-wiimote.c |    2 --
 1 file changed, 2 deletions(-)

-- 
1.7.9.5





More information about the kernel-team mailing list