diff options
| author | Pan Bian <[email protected]> | 2016-12-05 11:37:24 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2016-12-09 12:46:29 +0000 |
| commit | c60fa555b11b25386b355c141d90cbee361c3eec (patch) | |
| tree | 144f457fbc9ebfcb02a4c98a4009fd0f3b402d62 /net/unix/af_unix.c | |
| parent | HID: microsoft: Add Surface 4 type cover pro 4 not JP versions (diff) | |
| download | kernel-c60fa555b11b25386b355c141d90cbee361c3eec.tar.gz kernel-c60fa555b11b25386b355c141d90cbee361c3eec.zip | |
HID: usbhid: fix improper return value
Function hid_post_reset() should return negative error codes on failures.
However, in its implementation, it incorrectly returns 1. This patch fixes the
bug, returning proper error codes on failures.
Signed-off-by: Pan Bian <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
