From: Jesse Brandeburg Date: Fri, 13 Sep 2013 08:23:18 +0000 (+0000) Subject: i40e: use common failure flow X-Git-Tag: v3.12-rc4~30^2~40^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93bc73b8273e40d8202764a1096ce59c5f7f7c0c;p=pandora-kernel.git i40e: use common failure flow As mentioned by Joe Perches, we should be using foo = alloc(...) if (!foo) return -ENOMEM; return 0; Signed-off-by: Jesse Brandeburg CC: Joe Perches Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed