diff options
author | Casey Leedom <leedom@chelsio.com> | 2011-02-14 15:56:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-15 04:37:10 +0300 |
commit | 843635e0349be9e318be224d6241069a40e23320 (patch) | |
tree | 2e90bffcf79352627f13af089e5b9d7bd1f3faa0 /drivers/net/cxgb4vf/adapter.h | |
parent | bb14a1af86d01f66dc9620725ac00a240331afec (diff) | |
download | linux-843635e0349be9e318be224d6241069a40e23320.tar.xz |
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>
Diffstat (limited to 'drivers/net/cxgb4vf/adapter.h')
0 files changed, 0 insertions, 0 deletions