Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
9d57a61a
Commit
9d57a61a
authored
Jul 31, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] more net illegal/invalid typo fixes
(Steven Cole)
parent
8866d756
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
19 deletions
+19
-19
drivers/net/skfp/h/cmtdef.h
drivers/net/skfp/h/cmtdef.h
+12
-12
drivers/net/skfp/smt.c
drivers/net/skfp/smt.c
+1
-1
drivers/net/tokenring/3c359.c
drivers/net/tokenring/3c359.c
+1
-1
drivers/net/wan/cycx_drv.c
drivers/net/wan/cycx_drv.c
+2
-2
drivers/net/wan/sdladrv.c
drivers/net/wan/sdladrv.c
+3
-3
No files found.
drivers/net/skfp/h/cmtdef.h
View file @
9d57a61a
...
@@ -721,21 +721,21 @@ void dump_hex() ;
...
@@ -721,21 +721,21 @@ void dump_hex() ;
#endif
#endif
#define SMT_E0100 SMT_EBASE + 0
#define SMT_E0100 SMT_EBASE + 0
#define SMT_E0100_MSG "cfm FSM: i
llegal
ce_type"
#define SMT_E0100_MSG "cfm FSM: i
nvalid
ce_type"
#define SMT_E0101 SMT_EBASE + 1
#define SMT_E0101 SMT_EBASE + 1
#define SMT_E0101_MSG "CEM: case ???"
#define SMT_E0101_MSG "CEM: case ???"
#define SMT_E0102 SMT_EBASE + 2
#define SMT_E0102 SMT_EBASE + 2
#define SMT_E0102_MSG "CEM A: i
llegal
state"
#define SMT_E0102_MSG "CEM A: i
nvalid
state"
#define SMT_E0103 SMT_EBASE + 3
#define SMT_E0103 SMT_EBASE + 3
#define SMT_E0103_MSG "CEM B: i
llegal
state"
#define SMT_E0103_MSG "CEM B: i
nvalid
state"
#define SMT_E0104 SMT_EBASE + 4
#define SMT_E0104 SMT_EBASE + 4
#define SMT_E0104_MSG "CEM M: i
llegal
state"
#define SMT_E0104_MSG "CEM M: i
nvalid
state"
#define SMT_E0105 SMT_EBASE + 5
#define SMT_E0105 SMT_EBASE + 5
#define SMT_E0105_MSG "CEM S: i
llegal
state"
#define SMT_E0105_MSG "CEM S: i
nvalid
state"
#define SMT_E0106 SMT_EBASE + 6
#define SMT_E0106 SMT_EBASE + 6
#define SMT_E0106_MSG "CFM : i
llegal
state"
#define SMT_E0106_MSG "CFM : i
nvalid
state"
#define SMT_E0107 SMT_EBASE + 7
#define SMT_E0107 SMT_EBASE + 7
#define SMT_E0107_MSG "ECM : i
llegal
state"
#define SMT_E0107_MSG "ECM : i
nvalid
state"
#define SMT_E0108 SMT_EBASE + 8
#define SMT_E0108 SMT_EBASE + 8
#define SMT_E0108_MSG "prop_actions : NAC in DAS CFM"
#define SMT_E0108_MSG "prop_actions : NAC in DAS CFM"
#define SMT_E0109 SMT_EBASE + 9
#define SMT_E0109 SMT_EBASE + 9
...
@@ -757,21 +757,21 @@ void dump_hex() ;
...
@@ -757,21 +757,21 @@ void dump_hex() ;
#define SMT_E0117 SMT_EBASE + 17
#define SMT_E0117 SMT_EBASE + 17
#define SMT_E0117_MSG "E_SMT_001: RxD count for receive queue 1 = 0"
#define SMT_E0117_MSG "E_SMT_001: RxD count for receive queue 1 = 0"
#define SMT_E0118 SMT_EBASE + 18
#define SMT_E0118 SMT_EBASE + 18
#define SMT_E0118_MSG "PCM : i
llegal
state"
#define SMT_E0118_MSG "PCM : i
nvalid
state"
#define SMT_E0119 SMT_EBASE + 19
#define SMT_E0119 SMT_EBASE + 19
#define SMT_E0119_MSG "smt_add_para"
#define SMT_E0119_MSG "smt_add_para"
#define SMT_E0120 SMT_EBASE + 20
#define SMT_E0120 SMT_EBASE + 20
#define SMT_E0120_MSG "smt_set_para"
#define SMT_E0120_MSG "smt_set_para"
#define SMT_E0121 SMT_EBASE + 21
#define SMT_E0121 SMT_EBASE + 21
#define SMT_E0121_MSG "i
llegal
event in dispatcher"
#define SMT_E0121_MSG "i
nvalid
event in dispatcher"
#define SMT_E0122 SMT_EBASE + 22
#define SMT_E0122 SMT_EBASE + 22
#define SMT_E0122_MSG "RMT : i
llegal
state"
#define SMT_E0122_MSG "RMT : i
nvalid
state"
#define SMT_E0123 SMT_EBASE + 23
#define SMT_E0123 SMT_EBASE + 23
#define SMT_E0123_MSG "SBA: state machine has i
llegal
state"
#define SMT_E0123_MSG "SBA: state machine has i
nvalid
state"
#define SMT_E0124 SMT_EBASE + 24
#define SMT_E0124 SMT_EBASE + 24
#define SMT_E0124_MSG "sba_free_session() called with NULL pointer"
#define SMT_E0124_MSG "sba_free_session() called with NULL pointer"
#define SMT_E0125 SMT_EBASE + 25
#define SMT_E0125 SMT_EBASE + 25
#define SMT_E0125_MSG "SBA : i
llegal
session pointer"
#define SMT_E0125_MSG "SBA : i
nvalid
session pointer"
#define SMT_E0126 SMT_EBASE + 26
#define SMT_E0126 SMT_EBASE + 26
#define SMT_E0126_MSG "smt_free_mbuf() called with NULL pointer\n"
#define SMT_E0126_MSG "smt_free_mbuf() called with NULL pointer\n"
#define SMT_E0127 SMT_EBASE + 27
#define SMT_E0127 SMT_EBASE + 27
...
...
drivers/net/skfp/smt.c
View file @
9d57a61a
...
@@ -817,7 +817,7 @@ int fs ; /* frame status */
...
@@ -817,7 +817,7 @@ int fs ; /* frame status */
#endif
#endif
}
}
if
(
illegal
)
{
if
(
illegal
)
{
DB_SMT
(
"SMT: discarding i
llegal
frame, reason = %d
\n
"
,
DB_SMT
(
"SMT: discarding i
nvalid
frame, reason = %d
\n
"
,
illegal
,
0
)
;
illegal
,
0
)
;
}
}
smt_free_mbuf
(
smc
,
mb
)
;
smt_free_mbuf
(
smc
,
mb
)
;
...
...
drivers/net/tokenring/3c359.c
View file @
9d57a61a
...
@@ -1123,7 +1123,7 @@ static irqreturn_t xl_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -1123,7 +1123,7 @@ static irqreturn_t xl_interrupt(int irq, void *dev_id, struct pt_regs *regs)
if
(
macstatus
&
(
1
<<
3
))
if
(
macstatus
&
(
1
<<
3
))
printk
(
KERN_WARNING
"eint error: Internal watchdog timer expired
\n
"
)
;
printk
(
KERN_WARNING
"eint error: Internal watchdog timer expired
\n
"
)
;
if
(
macstatus
&
(
1
<<
2
))
if
(
macstatus
&
(
1
<<
2
))
printk
(
KERN_WARNING
"aint error: Host tried to perform i
llegal
operation
\n
"
)
;
printk
(
KERN_WARNING
"aint error: Host tried to perform i
nvalid
operation
\n
"
)
;
printk
(
KERN_WARNING
"Instatus = %02x, macstatus = %02x
\n
"
,
intstatus
,
macstatus
)
;
printk
(
KERN_WARNING
"Instatus = %02x, macstatus = %02x
\n
"
,
intstatus
,
macstatus
)
;
printk
(
KERN_WARNING
"%s: Resetting hardware:
\n
"
,
dev
->
name
);
printk
(
KERN_WARNING
"%s: Resetting hardware:
\n
"
,
dev
->
name
);
netif_stop_queue
(
dev
)
;
netif_stop_queue
(
dev
)
;
...
...
drivers/net/wan/cycx_drv.c
View file @
9d57a61a
...
@@ -142,7 +142,7 @@ int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len)
...
@@ -142,7 +142,7 @@ int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len)
/* Verify IRQ configuration options */
/* Verify IRQ configuration options */
if
(
!
get_option_index
(
cycx_2x_irq_options
,
hw
->
irq
))
{
if
(
!
get_option_index
(
cycx_2x_irq_options
,
hw
->
irq
))
{
printk
(
KERN_ERR
"%s: IRQ %d is i
llegal
!
\n
"
,
modname
,
hw
->
irq
);
printk
(
KERN_ERR
"%s: IRQ %d is i
nvalid
!
\n
"
,
modname
,
hw
->
irq
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
@@ -152,7 +152,7 @@ int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len)
...
@@ -152,7 +152,7 @@ int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len)
modname
);
modname
);
return
-
EINVAL
;
return
-
EINVAL
;
}
else
if
(
!
get_option_index
(
cyc2x_dpmbase_options
,
hw
->
dpmbase
))
{
}
else
if
(
!
get_option_index
(
cyc2x_dpmbase_options
,
hw
->
dpmbase
))
{
printk
(
KERN_ERR
"%s: memory address 0x%lX is i
llegal
!
\n
"
,
printk
(
KERN_ERR
"%s: memory address 0x%lX is i
nvalid
!
\n
"
,
modname
,
dpmbase
);
modname
,
dpmbase
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
...
drivers/net/wan/sdladrv.c
View file @
9d57a61a
...
@@ -428,7 +428,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
...
@@ -428,7 +428,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
/* Verify IRQ configuration options */
/* Verify IRQ configuration options */
if
(
!
get_option_index
(
irq_opt
,
hw
->
irq
))
{
if
(
!
get_option_index
(
irq_opt
,
hw
->
irq
))
{
printk
(
KERN_INFO
"%s: IRQ %d is i
llegal
!
\n
"
,
printk
(
KERN_INFO
"%s: IRQ %d is i
nvalid
!
\n
"
,
modname
,
hw
->
irq
);
modname
,
hw
->
irq
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
@@ -438,7 +438,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
...
@@ -438,7 +438,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
hw
->
pclk
=
pclk_opt
[
1
];
/* use default */
hw
->
pclk
=
pclk_opt
[
1
];
/* use default */
else
if
(
!
get_option_index
(
pclk_opt
,
hw
->
pclk
))
{
else
if
(
!
get_option_index
(
pclk_opt
,
hw
->
pclk
))
{
printk
(
KERN_INFO
"%s: CPU clock %u is i
llegal
!
\n
"
,
printk
(
KERN_INFO
"%s: CPU clock %u is i
nvalid
!
\n
"
,
modname
,
hw
->
pclk
);
modname
,
hw
->
pclk
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
@@ -458,7 +458,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
...
@@ -458,7 +458,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
else
if
(
!
get_option_index
(
dpmbase_opt
,
else
if
(
!
get_option_index
(
dpmbase_opt
,
virt_to_phys
(
hw
->
dpmbase
)))
{
virt_to_phys
(
hw
->
dpmbase
)))
{
printk
(
KERN_INFO
printk
(
KERN_INFO
"%s: memory address 0x%lX is i
llegal
!
\n
"
,
"%s: memory address 0x%lX is i
nvalid
!
\n
"
,
modname
,
virt_to_phys
(
hw
->
dpmbase
));
modname
,
virt_to_phys
(
hw
->
dpmbase
));
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment