diff options
author | 2021-02-11 11:30:59 -0800 | |
---|---|---|
committer | 2021-03-08 11:12:22 +0100 | |
commit | 9951bb259dd0794db39beb63899104da9579efcc (patch) | |
tree | e7c7f8575d376b42a53ae2b240a2b18091d88fbf /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | linux-dev-9951bb259dd0794db39beb63899104da9579efcc.tar.xz linux-dev-9951bb259dd0794db39beb63899104da9579efcc.zip |
HID: hiddev: Return specific error codes on connect failure
The only caller of this function only cares about gross success/failure
but we still might as well resolve the following smatch warning and fix
the other error paths as well:
hiddev.c:894 hiddev_connect() warn: returning -1 instead of -ENOMEM is sloppy
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions