From: Tobias Klauser Date: Sat, 22 Feb 2014 12:09:03 +0000 (+0100) Subject: net: stmmac: Check return value of alloc_dma_desc_resources() X-Git-Tag: v3.14-rc6~30^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7262b7b26de1495f77edbe1e71cb15b8198adb9d;p=pandora-kernel.git net: stmmac: Check return value of alloc_dma_desc_resources() alloc_dma_desc_resources() returns an error value and the next line actually checks for it, so assign the return value properly. Found by the coverity scanner. Signed-off-by: Tobias Klauser Acked-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- Reading git-diff-tree failed