summaryrefslogtreecommitdiffstats
path: root/drivers/ide/hpt366.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2013-01-31 16:51:47 +0100
committerJiri Kosina <jkosina@suse.cz>2013-01-31 16:51:47 +0100
commit7e41576247b782a21c05f7ea8a78a6db119ba789 (patch)
treeae913df79a900dc357f6ffe6855d62feabde8bdb /drivers/ide/hpt366.c
parentHID: steelseries: rename driver to be compliant with other drivers (diff)
downloadlinux-7e41576247b782a21c05f7ea8a78a6db119ba789.tar.xz
linux-7e41576247b782a21c05f7ea8a78a6db119ba789.zip
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 <jkosina@suse.cz>
Diffstat (limited to 'drivers/ide/hpt366.c')
0 files changed, 0 insertions, 0 deletions