From 735e33fa32d56e58dccb8406281efb2fff419f23 Mon Sep 17 00:00:00 2001 From: Vitaly Osipov Date: Tue, 27 May 2014 22:27:37 +1000 Subject: [PATCH] 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-format-patch failed