summaryrefslogtreecommitdiff
path: root/include/linux/ssbi.h
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2018-11-22 03:52:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 17:37:26 +0300
commitab8f3d980d5df972d577dbf1287de029187dbee2 (patch)
treecd147ec72e5fb8e5bda802932d597e3123d976c5 /include/linux/ssbi.h
parentfe6f3973ff0ac8a6bd72b944acac90a95fe1b4a4 (diff)
downloadlinux-ab8f3d980d5df972d577dbf1287de029187dbee2.tar.xz
HID: intel-ish-hid: fixes incorrect error handling
[ Upstream commit 6e0856d317440a950b17c00a9283114f025e5699 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/ssbi.h')
0 files changed, 0 insertions, 0 deletions