Vitaly Osipov 735e33fa32 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>
2014-05-27 11:55:29 -07:00
..
2014-05-25 11:04:44 -07:00
2013-01-11 16:39:11 -08:00
2013-01-11 16:39:11 -08:00
2013-01-11 16:39:11 -08:00
2013-01-11 16:39:11 -08:00