diff options
| author | Vitaly Osipov <vitaly.osipov@gmail.com> | 2014-05-27 22:27:37 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 11:55:29 -0700 |
| commit | 735e33fa32d56e58dccb8406281efb2fff419f23 (patch) | |
| tree | cbd056869edf2780ee75eb62151c62f6ffa0215c /tools/perf/scripts/python/syscall-counts.py | |
| parent | efc273ce344eb6984d16964201617f4720beb2dd (diff) | |
staging: rtl8712: return -ENOMEM instead of -1
After the commit 91d435f replaced _malloc with kmalloc, smatch picked up a
couple of new warnings. This fixes the warning:
warn: returning -1 instead of -ENOMEM is sloppy
Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
