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
e85337c7
Commit
e85337c7
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Check request_region() in inia100
parent
d1ebfb3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/scsi/inia100.c
drivers/scsi/inia100.c
+5
-1
No files found.
drivers/scsi/inia100.c
View file @
e85337c7
...
@@ -366,7 +366,11 @@ int inia100_detect(Scsi_Host_Template * tpnt)
...
@@ -366,7 +366,11 @@ int inia100_detect(Scsi_Host_Template * tpnt)
printk
(
"inia100: initial orchid fail!!
\n
"
);
printk
(
"inia100: initial orchid fail!!
\n
"
);
goto
out_unalloc
;
goto
out_unalloc
;
}
}
request_region
(
pHCB
->
HCS_Base
,
256
,
"inia100"
);
/* Register */
if
(
!
request_region
(
pHCB
->
HCS_Base
,
256
,
"inia100"
))
{
printk
(
KERN_WARNING
"inia100: io port 0x%x, is busy.
\n
"
,
pHCB
->
HCS_Base
);
return
(
0
);
}
hreg
->
io_port
=
pHCB
->
HCS_Base
;
hreg
->
io_port
=
pHCB
->
HCS_Base
;
hreg
->
n_io_port
=
0xff
;
hreg
->
n_io_port
=
0xff
;
...
...
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