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
62fae95e
Commit
62fae95e
authored
Jan 08, 2003
by
Dave Jones
Committed by
Linus Torvalds
Jan 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Missed checks in hisax.
From 2.4
parent
295d8b73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
drivers/isdn/hisax/config.c
drivers/isdn/hisax/config.c
+10
-5
No files found.
drivers/isdn/hisax/config.c
View file @
62fae95e
...
@@ -1511,7 +1511,8 @@ static int __init HiSax_init(void)
...
@@ -1511,7 +1511,8 @@ static int __init HiSax_init(void)
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
/* Install only, if at least one card found */
/* Install only, if at least one card found */
HiSax_inithardware
(
NULL
);
if
(
!
HiSax_inithardware
(
NULL
))
return
-
ENODEV
;
return
0
;
return
0
;
out_tei:
out_tei:
...
@@ -1575,7 +1576,8 @@ int elsa_init_pcmcia(void *pcm_iob, int pcm_irq, int *busy_flag, int prot)
...
@@ -1575,7 +1576,8 @@ int elsa_init_pcmcia(void *pcm_iob, int pcm_irq, int *busy_flag, int prot)
printk
(
KERN_DEBUG
"HiSax: Total %d card%s defined
\n
"
,
printk
(
KERN_DEBUG
"HiSax: Total %d card%s defined
\n
"
,
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
HiSax_inithardware
(
busy_flag
);
if
(
!
HiSax_inithardware
(
busy_flag
))
return
-
ENODEV
;
printk
(
KERN_NOTICE
"HiSax: module installed
\n
"
);
printk
(
KERN_NOTICE
"HiSax: module installed
\n
"
);
#endif
#endif
return
0
;
return
0
;
...
@@ -1617,7 +1619,8 @@ int hfc_init_pcmcia(void *pcm_iob, int pcm_irq, int *busy_flag, int prot)
...
@@ -1617,7 +1619,8 @@ int hfc_init_pcmcia(void *pcm_iob, int pcm_irq, int *busy_flag, int prot)
printk
(
KERN_DEBUG
"HiSax: Total %d card%s defined
\n
"
,
printk
(
KERN_DEBUG
"HiSax: Total %d card%s defined
\n
"
,
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
HiSax_inithardware
(
busy_flag
);
if
(
!
HiSax_inithardware
(
busy_flag
))
return
-
ENODEV
;
printk
(
KERN_NOTICE
"HiSax: module installed
\n
"
);
printk
(
KERN_NOTICE
"HiSax: module installed
\n
"
);
#endif
#endif
return
0
;
return
0
;
...
@@ -1659,7 +1662,8 @@ int sedl_init_pcmcia(void *pcm_iob, int pcm_irq, int *busy_flag, int prot)
...
@@ -1659,7 +1662,8 @@ int sedl_init_pcmcia(void *pcm_iob, int pcm_irq, int *busy_flag, int prot)
printk
(
KERN_DEBUG
"HiSax: Total %d card%s defined
\n
"
,
printk
(
KERN_DEBUG
"HiSax: Total %d card%s defined
\n
"
,
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
HiSax_inithardware
(
busy_flag
);
if
(
!
HiSax_inithardware
(
busy_flag
))
return
-
ENODEV
;
printk
(
KERN_NOTICE
"HiSax: module installed
\n
"
);
printk
(
KERN_NOTICE
"HiSax: module installed
\n
"
);
#endif
#endif
return
0
;
return
0
;
...
@@ -1701,7 +1705,8 @@ int avm_a1_init_pcmcia(void *pcm_iob, int pcm_irq, int *busy_flag, int prot)
...
@@ -1701,7 +1705,8 @@ int avm_a1_init_pcmcia(void *pcm_iob, int pcm_irq, int *busy_flag, int prot)
printk
(
KERN_DEBUG
"HiSax: Total %d card%s defined
\n
"
,
printk
(
KERN_DEBUG
"HiSax: Total %d card%s defined
\n
"
,
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
nrcards
,
(
nrcards
>
1
)
?
"s"
:
""
);
HiSax_inithardware
(
busy_flag
);
if
(
!
HiSax_inithardware
(
busy_flag
))
return
-
ENODEV
;
printk
(
KERN_NOTICE
"HiSax: module installed
\n
"
);
printk
(
KERN_NOTICE
"HiSax: module installed
\n
"
);
#endif
#endif
return
0
;
return
0
;
...
...
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