commit | 843635e0349be9e318be224d6241069a40e23320 | [log] [tgz] |
---|---|---|
author | Casey Leedom <leedom@chelsio.com> | Mon Feb 14 12:56:23 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 14 17:37:10 2011 -0800 |
tree | 2e90bffcf79352627f13af089e5b9d7bd1f3faa0 | |
parent | bb14a1af86d01f66dc9620725ac00a240331afec [diff] |
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 <leedom@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>