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
021896b1
Commit
021896b1
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] second block illegal/invalid fixups for isdn
(Steven Cole)
parent
b3ce6592
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/isdn/hysdn/hycapi.c
drivers/isdn/hysdn/hycapi.c
+1
-1
drivers/isdn/i4l/isdn_ppp.c
drivers/isdn/i4l/isdn_ppp.c
+1
-1
drivers/isdn/i4l/isdn_x25iface.c
drivers/isdn/i4l/isdn_x25iface.c
+3
-3
No files found.
drivers/isdn/hysdn/hycapi.c
View file @
021896b1
...
@@ -591,7 +591,7 @@ hycapi_rx_capipkt(hysdn_card * card, uchar * buf, word len)
...
@@ -591,7 +591,7 @@ hycapi_rx_capipkt(hysdn_card * card, uchar * buf, word len)
" current state
\n
"
,
card
->
myid
);
" current state
\n
"
,
card
->
myid
);
break
;
break
;
case
0x2002
:
case
0x2002
:
printk
(
KERN_ERR
"HYSDN Card%d: i
llegal
PLCI
\n
"
,
card
->
myid
);
printk
(
KERN_ERR
"HYSDN Card%d: i
nvalid
PLCI
\n
"
,
card
->
myid
);
break
;
break
;
case
0x2004
:
case
0x2004
:
printk
(
KERN_ERR
"HYSDN Card%d: out of NCCI
\n
"
,
card
->
myid
);
printk
(
KERN_ERR
"HYSDN Card%d: out of NCCI
\n
"
,
card
->
myid
);
...
...
drivers/isdn/i4l/isdn_ppp.c
View file @
021896b1
...
@@ -715,7 +715,7 @@ isdn_ppp_bind(isdn_net_dev *idev)
...
@@ -715,7 +715,7 @@ isdn_ppp_bind(isdn_net_dev *idev)
found:
found:
unit
=
isdn_ppp_if_get_unit
(
idev
->
name
);
/* get unit number from interface name .. ugly! */
unit
=
isdn_ppp_if_get_unit
(
idev
->
name
);
/* get unit number from interface name .. ugly! */
if
(
unit
<
0
)
{
if
(
unit
<
0
)
{
printk
(
KERN_INFO
"isdn_ppp_bind: i
llegal
interface name %s.
\n
"
,
idev
->
name
);
printk
(
KERN_INFO
"isdn_ppp_bind: i
nvalid
interface name %s.
\n
"
,
idev
->
name
);
retval
=
-
ENODEV
;
retval
=
-
ENODEV
;
goto
err
;
goto
err
;
}
}
...
...
drivers/isdn/i4l/isdn_x25iface.c
View file @
021896b1
...
@@ -63,7 +63,7 @@ static struct concap_proto_ops ix25_pops = {
...
@@ -63,7 +63,7 @@ static struct concap_proto_ops ix25_pops = {
/* error message helper function */
/* error message helper function */
static
void
illegal_state_warn
(
unsigned
state
,
unsigned
char
firstbyte
)
static
void
illegal_state_warn
(
unsigned
state
,
unsigned
char
firstbyte
)
{
{
printk
(
KERN_WARNING
"isdn_x25iface: firstbyte %x i
llegal
in"
printk
(
KERN_WARNING
"isdn_x25iface: firstbyte %x i
nvalid
in"
"current state %d
\n
"
,
firstbyte
,
state
);
"current state %d
\n
"
,
firstbyte
,
state
);
}
}
...
@@ -72,7 +72,7 @@ static int pdata_is_bad( ix25_pdata_t * pda ){
...
@@ -72,7 +72,7 @@ static int pdata_is_bad( ix25_pdata_t * pda ){
if
(
pda
&&
pda
->
magic
==
ISDN_X25IFACE_MAGIC
)
return
0
;
if
(
pda
&&
pda
->
magic
==
ISDN_X25IFACE_MAGIC
)
return
0
;
printk
(
KERN_WARNING
printk
(
KERN_WARNING
"isdn_x25iface_xxx: i
llegal
pointer to proto data
\n
"
);
"isdn_x25iface_xxx: i
nvalid
pointer to proto data
\n
"
);
return
1
;
return
1
;
}
}
...
@@ -334,7 +334,7 @@ int isdn_x25iface_xmit(struct concap_proto *cprot, struct sk_buff *skb)
...
@@ -334,7 +334,7 @@ int isdn_x25iface_xmit(struct concap_proto *cprot, struct sk_buff *skb)
" options not yet supported
\n
"
);
" options not yet supported
\n
"
);
break
;
break
;
default:
default:
printk
(
KERN_WARNING
"isdn_x25iface_xmit: frame with i
llegal
"
printk
(
KERN_WARNING
"isdn_x25iface_xmit: frame with i
nvalid
"
" first byte %x ignored:
\n
"
,
firstbyte
);
" first byte %x ignored:
\n
"
,
firstbyte
);
}
}
dev_kfree_skb
(
skb
);
dev_kfree_skb
(
skb
);
...
...
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