summaryrefslogtreecommitdiff
path: root/scripts/dtc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-09-17 11:11:56 (GMT)
committerJiri Kosina <jkosina@suse.cz>2012-09-17 11:15:55 (GMT)
commita6fbaacfb990580c080e4fad6623b7108f5a0507 (patch)
tree85ac2fbf6ce62d686006c91dce792325eaea9212 /scripts/dtc
parent832fbeaef446a7024c5e0f19b7122100a7b1003d (diff)
downloadlinux-fsl-qoriq-a6fbaacfb990580c080e4fad6623b7108f5a0507.tar.xz
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 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions