From: Dan Carpenter Date: Tue, 4 Nov 2014 10:37:17 +0000 (+0300) Subject: bnx2fc: check IS_ERR() instead of NULL X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~21^2^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6829c72dff7359039718d2a465133691c9bb5b4;p=pandora-kernel.git bnx2fc: check IS_ERR() instead of NULL The bnx2fc_if_create() function returns NULL on failure, it never returns an error pointer. Signed-off-by: Dan Carpenter Acked-by: Chad Dupuis Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed