commit | 735e33fa32d56e58dccb8406281efb2fff419f23 | [log] [tgz] |
---|---|---|
author | Vitaly Osipov <vitaly.osipov@gmail.com> | Tue May 27 22:27:37 2014 +1000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 27 11:55:29 2014 -0700 |
tree | cbd056869edf2780ee75eb62151c62f6ffa0215c | |
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>