HID: steelseries: fix out of bound array access
authorJiri Kosina <jkosina@suse.cz>
Thu, 31 Jan 2013 15:51:47 +0000 (16:51 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 31 Jan 2013 15:51:47 +0000 (16:51 +0100)
The last field of the driver_data->leds[] array is used to store the
special toggle for setting all leds simultaneously, so we need to allocate
appropriate number of led_classdev pointers.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found