From: Jiri Kosina Date: Thu, 31 Jan 2013 15:51:47 +0000 (+0100) Subject: HID: steelseries: fix out of bound array access X-Git-Tag: v3.9-rc1~112^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e41576247b782a21c05f7ea8a78a6db119ba789;p=pandora-kernel.git HID: steelseries: fix out of bound array access 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 --- Reading git-diff-tree failed