git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
net
/
skfp
/
pmf.c
diff --git
a/drivers/net/skfp/pmf.c
b/drivers/net/skfp/pmf.c
index
f2b446d
..
e9422e6
100644
(file)
--- a/
drivers/net/skfp/pmf.c
+++ b/
drivers/net/skfp/pmf.c
@@
-558,8
+558,8
@@
void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para,
{
struct smt_para *pa ;
const struct s_p_tab *pt ;
{
struct smt_para *pa ;
const struct s_p_tab *pt ;
- struct fddi_mib_m *mib_m =
NULL
;
- struct fddi_mib_p *mib_p =
NULL
;
+ struct fddi_mib_m *mib_m =
0
;
+ struct fddi_mib_p *mib_p =
0
;
int len ;
int plen ;
char *from ;
int len ;
int plen ;
char *from ;
@@
-644,7
+644,7
@@
void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para,
/*
* check special paras
*/
/*
* check special paras
*/
- swap =
NULL
;
+ swap =
0
;
switch (para) {
case SMT_P10F0 :
case SMT_P10F1 :
switch (para) {
case SMT_P10F0 :
case SMT_P10F1 :
@@
-1091,9
+1091,9
@@
int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, int local,
char c ;
char *mib_addr ;
struct fddi_mib *mib ;
char c ;
char *mib_addr ;
struct fddi_mib *mib ;
- struct fddi_mib_m *mib_m =
NULL
;
- struct fddi_mib_a *mib_a =
NULL
;
- struct fddi_mib_p *mib_p =
NULL
;
+ struct fddi_mib_m *mib_m =
0
;
+ struct fddi_mib_a *mib_a =
0
;
+ struct fddi_mib_p *mib_p =
0
;
int mac ;
int path ;
int port ;
int mac ;
int path ;
int port ;
@@
-1533,7
+1533,7
@@
static const struct s_p_tab *smt_get_ptab(u_short para)
const struct s_p_tab *pt ;
for (pt = p_tab ; pt->p_num && pt->p_num != para ; pt++)
;
const struct s_p_tab *pt ;
for (pt = p_tab ; pt->p_num && pt->p_num != para ; pt++)
;
- return(pt->p_num ? pt :
NULL
) ;
+ return(pt->p_num ? pt :
0
) ;
}
static int smt_mib_phys(struct s_smc *smc)
}
static int smt_mib_phys(struct s_smc *smc)