aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2008-12-30 00:49:59 +0100
committerJiri Kosina <jkosina@suse.cz>2009-01-04 01:01:43 +0100
commit4dfdc46468a142216b284eea66040f49df3f7191 (patch)
tree771f8c4abcecd8e7ac80bc61f97318f24f852fd9 /include/linux/kernel.h
parentHID: fix reference count leak hidraw (diff)
downloadwireguard-linux-4dfdc46468a142216b284eea66040f49df3f7191.tar.xz
wireguard-linux-4dfdc46468a142216b284eea66040f49df3f7191.zip
HID: fix error condition propagation in hid-sony driver
sony_set_operational() only propagates return value from usb_control_msg(), which returns negative on error and number of transferred bytes otherwise. Reported-by: Marcin Tolysz <tolysz@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions