summaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp/smt.c
diff options
context:
space:
mode:
authorAl Viro2008-01-24 11:06:46 +0100
committerDavid S. Miller2008-01-29 00:07:12 +0100
commit79ea13ce07c951bb4d95471e7300baa0f1be9e78 (patch)
treec0ea320464201854c5d3a222e2dd0d10ae22c95f /drivers/net/skfp/smt.c
parente1000 endianness annotations (diff)
downloadkernel-qcow2-linux-79ea13ce07c951bb4d95471e7300baa0f1be9e78.tar.gz
kernel-qcow2-linux-79ea13ce07c951bb4d95471e7300baa0f1be9e78.tar.xz
kernel-qcow2-linux-79ea13ce07c951bb4d95471e7300baa0f1be9e78.zip
NULL noise in drivers/net
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/skfp/smt.c')
-rw-r--r--drivers/net/skfp/smt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c
index ced2c8f76be7..ffbfb1b79f97 100644
--- a/drivers/net/skfp/smt.c
+++ b/drivers/net/skfp/smt.c
@@ -712,7 +712,7 @@ void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs)
smc->mib.priv.fddiPRIVECF_Reply_Rx++ ;
DB_SMT("SMT: received ECF reply from %s\n",
addr_to_string(&sm->smt_source),0) ;
- if (sm_to_para(smc,sm,SMT_P_ECHODATA) == 0) {
+ if (sm_to_para(smc,sm,SMT_P_ECHODATA) == NULL) {
DB_SMT("SMT: ECHODATA missing\n",0,0) ;
break ;
}