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
Kirill Smelkov
linux
Commits
6f90989c
Commit
6f90989c
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] some isdn invalid/illegal fixups
(Steven Cole)
parent
64d0f437
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/isdn/capi/capidrv.c
drivers/isdn/capi/capidrv.c
+1
-1
drivers/isdn/eicon/eicon_isa.c
drivers/isdn/eicon/eicon_isa.c
+2
-2
drivers/isdn/hardware/avm/b1isa.c
drivers/isdn/hardware/avm/b1isa.c
+1
-1
drivers/isdn/hardware/avm/t1isa.c
drivers/isdn/hardware/avm/t1isa.c
+1
-1
drivers/isdn/hardware/eicon/message.c
drivers/isdn/hardware/eicon/message.c
+1
-1
No files found.
drivers/isdn/capi/capidrv.c
View file @
6f90989c
...
...
@@ -1596,7 +1596,7 @@ static int capidrv_command(isdn_ctrl * c, capidrv_contr * card)
rc
=
FVteln2capi20
(
bchan
->
num
,
AdditionalInfo
);
isleasedline
=
(
rc
==
0
);
if
(
rc
<
0
)
printk
(
KERN_ERR
"capidrv-%d: WARNING: i
llegal
leased linedefinition
\"
%s
\"\n
"
,
card
->
contrnr
,
bchan
->
num
);
printk
(
KERN_ERR
"capidrv-%d: WARNING: i
nvalid
leased linedefinition
\"
%s
\"\n
"
,
card
->
contrnr
,
bchan
->
num
);
if
(
isleasedline
)
{
calling
[
0
]
=
0
;
...
...
drivers/isdn/eicon/eicon_isa.c
View file @
6f90989c
...
...
@@ -90,7 +90,7 @@ eicon_isa_find_card(int Mem, int Irq, char * Id)
if
((
Mem
<
0x0c0000
)
||
(
Mem
>
0x0fc000
)
||
(
Mem
&
0xfff
))
{
printk
(
KERN_WARNING
"eicon_isa: i
llegal
membase 0x%x for %s
\n
"
,
printk
(
KERN_WARNING
"eicon_isa: i
nvalid
membase 0x%x for %s
\n
"
,
Mem
,
Id
);
return
-
1
;
}
...
...
@@ -326,7 +326,7 @@ eicon_isa_load(eicon_isa_card *card, eicon_isa_codebuf *cb) {
/* Check for valid IRQ */
if
((
card
->
irq
<
0
)
||
(
card
->
irq
>
15
)
||
(
!
((
1
<<
card
->
irq
)
&
eicon_isa_valid_irq
[
card
->
type
&
0x0f
])))
{
printk
(
KERN_WARNING
"eicon_isa_load: i
llegal
irq: %d
\n
"
,
card
->
irq
);
printk
(
KERN_WARNING
"eicon_isa_load: i
nvalid
irq: %d
\n
"
,
card
->
irq
);
eicon_isa_release_shmem
(
card
);
kfree
(
code
);
return
-
EINVAL
;
...
...
drivers/isdn/hardware/avm/b1isa.c
View file @
6f90989c
...
...
@@ -78,7 +78,7 @@ static int __init b1isa_probe(struct pci_dev *pdev)
if
(
card
->
port
!=
0x150
&&
card
->
port
!=
0x250
&&
card
->
port
!=
0x300
&&
card
->
port
!=
0x340
)
{
printk
(
KERN_WARNING
"b1isa: i
llegal
port 0x%x.
\n
"
,
card
->
port
);
printk
(
KERN_WARNING
"b1isa: i
nvalid
port 0x%x.
\n
"
,
card
->
port
);
retval
=
-
EINVAL
;
goto
err_free
;
}
...
...
drivers/isdn/hardware/avm/t1isa.c
View file @
6f90989c
...
...
@@ -370,7 +370,7 @@ static int __init t1isa_probe(struct pci_dev *pdev, int cardnr)
sprintf
(
card
->
name
,
"t1isa-%x"
,
card
->
port
);
if
(
!
(((
card
->
port
&
0x7
)
==
0
)
&&
((
card
->
port
&
0x30
)
!=
0x30
)))
{
printk
(
KERN_WARNING
"t1isa: i
llegal
port 0x%x.
\n
"
,
card
->
port
);
printk
(
KERN_WARNING
"t1isa: i
nvalid
port 0x%x.
\n
"
,
card
->
port
);
retval
=
-
EINVAL
;
goto
err_free
;
}
...
...
drivers/isdn/hardware/eicon/message.c
View file @
6f90989c
...
...
@@ -4487,7 +4487,7 @@ void control_rc(PLCI * plci, byte req, byte rc, byte ch, byte global_req, byte
if
(
rc
==
WRONG_IE
)
{
Info
=
0x2007
;
/* Illegal message parameter coding */
dbug
(
1
,
dprintf
(
"MWI_REQ i
llegal
parameter"
));
dbug
(
1
,
dprintf
(
"MWI_REQ i
nvalid
parameter"
));
}
else
{
...
...
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