diff options
author | 2012-09-17 16:41:56 +0530 | |
---|---|---|
committer | 2012-09-17 13:15:55 +0200 | |
commit | a6fbaacfb990580c080e4fad6623b7108f5a0507 (patch) | |
tree | 85ac2fbf6ce62d686006c91dce792325eaea9212 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | HID: lenovo-tpkbd: Remove unnecessary casts of void pointers (diff) | |
download | linux-dev-a6fbaacfb990580c080e4fad6623b7108f5a0507.tar.xz linux-dev-a6fbaacfb990580c080e4fad6623b7108f5a0507.zip |
HID: Fix return values in open_collection()
Return -ENOMEM instead of -1 if memory allocation fails.
Return -EINVAL instead of -1 for stack overflow and
underflow errors.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions