From: Vitaly Osipov Date: Tue, 27 May 2014 12:27:37 +0000 (+1000) Subject: staging: rtl8712: return -ENOMEM instead of -1 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=735e33fa32d56e58dccb8406281efb2fff419f23;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed