cxgb4vf: Behave properly when CONFIG_DEBUG_FS isn't defined ...
authorCasey Leedom <leedom@chelsio.com>
Mon, 14 Feb 2011 12:56:23 +0000 (12:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Feb 2011 01:37:10 +0000 (17:37 -0800)
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 <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found