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
040a02c8
Commit
040a02c8
authored
Jul 24, 2002
by
Doug Ledford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix cpqfcTS driver in 2.5.x
cpqfcTSinit.c: Fix usage of Scsi_Cmnd->request so it will compile.
parent
d84cebb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/scsi/cpqfcTSinit.c
drivers/scsi/cpqfcTSinit.c
+5
-5
No files found.
drivers/scsi/cpqfcTSinit.c
View file @
040a02c8
...
...
@@ -475,7 +475,7 @@ static void my_ioctl_done (Scsi_Cmnd * SCpnt)
{
struct
request
*
req
;
req
=
&
SCpnt
->
request
;
req
=
SCpnt
->
request
;
req
->
rq_status
=
RQ_SCSI_DONE
;
/* Busy, but indicate request done */
if
(
req
->
CPQFC_WAITING
!=
NULL
)
...
...
@@ -601,7 +601,7 @@ int cpqfcTS_ioctl( Scsi_Device *ScsiDev, int Cmnd, void *arg)
{
CPQFC_DECLARE_COMPLETION
(
wait
);
ScsiPassThruCmnd
->
request
.
CPQFC_WAITING
=
&
wait
;
ScsiPassThruCmnd
->
request
->
CPQFC_WAITING
=
&
wait
;
// eventually gets us to our own _quecommand routine
scsi_do_cmd
(
ScsiPassThruCmnd
,
&
vendor_cmd
->
cdb
[
0
],
buf
,
...
...
@@ -611,7 +611,7 @@ int cpqfcTS_ioctl( Scsi_Device *ScsiDev, int Cmnd, void *arg)
// Other I/Os can now resume; we wait for our ioctl
// command to complete
CPQFC_WAIT_FOR_COMPLETION
(
&
wait
);
ScsiPassThruCmnd
->
request
.
CPQFC_WAITING
=
NULL
;
ScsiPassThruCmnd
->
request
->
CPQFC_WAITING
=
NULL
;
}
result
=
ScsiPassThruCmnd
->
result
;
...
...
@@ -1543,10 +1543,10 @@ int cpqfcTS_TargetDeviceReset( Scsi_Device *ScsiDev,
SCpnt
->
SCp
.
buffers_residual
=
FCP_TARGET_RESET
;
SCpnt
->
request
.
CPQFC_WAITING
=
&
wait
;
SCpnt
->
request
->
CPQFC_WAITING
=
&
wait
;
scsi_do_cmd
(
SCpnt
,
scsi_cdb
,
NULL
,
0
,
my_ioctl_done
,
timeout
,
retries
);
CPQFC_WAIT_FOR_COMPLETION
(
&
wait
);
SCpnt
->
request
.
CPQFC_WAITING
=
NULL
;
SCpnt
->
request
->
CPQFC_WAITING
=
NULL
;
}
/*
...
...
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