From: Casey Leedom Date: Mon, 14 Feb 2011 12:56:23 +0000 (+0000) Subject: cxgb4vf: Behave properly when CONFIG_DEBUG_FS isn't defined ... X-Git-Tag: v2.6.38-rc6~20^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843635e0349be9e318be224d6241069a40e23320;p=pandora-kernel.git cxgb4vf: Behave properly when CONFIG_DEBUG_FS isn't defined ... When CONFIG_DEBUG_FS we get "ERR_PTR()"s back from the debugfs routines instead of NULL. Use the right predicates to check for this. Signed-off-by: Casey Leedom Signed-off-by: David S. Miller --- Reading git-diff-tree failed