diff options
author | Vasiliy Kulikov <segoon@openwall.com> | 2011-01-17 05:08:45 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-17 07:20:43 -0500 |
commit | dacfecdbf3a0a5072984ff8b3c224a48c8461008 (patch) | |
tree | bd5044426d722147161f3d3e725f76bec4849556 /drivers/hid/hid-ids.h | |
parent | 581548db3b3c0f6e25b500329eb02e3c72e7acbe (diff) |
HID: hid-roccat-koneplus: potential NULL dereference
kmalloc() may fail, if so return -ENOMEM.
Also koneplus_init_koneplus_device_struct() should check return code
of koneplus_get_startup_profile() and propagate its return code.
Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
0 files changed, 0 insertions, 0 deletions