diff options
author | Pan Bian <bianpan2016@163.com> | 2018-11-22 03:52:33 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-12-17 17:04:49 +0300 |
commit | 6e0856d317440a950b17c00a9283114f025e5699 (patch) | |
tree | 61f238dab07ec0d8f788a9548a4eb85c396bf7b7 /Documentation/hid | |
parent | c201e3808e0e4be9b98d192802085a9f491bd80c (diff) | |
download | linux-6e0856d317440a950b17c00a9283114f025e5699.tar.xz |
HID: intel-ish-hid: fixes incorrect error handling
The memory chunk allocated by hid_allocate_device() should be released
by hid_destroy_device(), not kfree().
Fixes: 0b28cb4bcb1("HID: intel-ish-hid: ISH HID client driver")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/hid')
0 files changed, 0 insertions, 0 deletions