Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
2428427e
Commit
2428427e
authored
Oct 17, 2007
by
Boaz Harrosh
Committed by
Jens Axboe
Oct 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI] ide-scsi: use scsi_sg_count() instead of ->use_sg
Signed-off-by:
Jens Axboe
<
jens.axboe@oracle.com
>
parent
ebb3e820
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/scsi/ide-scsi.c
drivers/scsi/ide-scsi.c
+1
-1
No files found.
drivers/scsi/ide-scsi.c
View file @
2428427e
...
...
@@ -807,7 +807,7 @@ static int idescsi_queue (struct scsi_cmnd *cmd,
memcpy
(
pc
->
c
,
cmd
->
cmnd
,
cmd
->
cmd_len
);
pc
->
buffer
=
NULL
;
pc
->
sg
=
scsi_sglist
(
cmd
);
pc
->
last_sg
=
sg_last
(
pc
->
sg
,
cmd
->
use_sg
);
pc
->
last_sg
=
sg_last
(
pc
->
sg
,
scsi_sg_count
(
cmd
)
);
pc
->
b_count
=
0
;
pc
->
request_transfer
=
pc
->
buffer_size
=
scsi_bufflen
(
cmd
);
pc
->
scsi_cmd
=
cmd
;
...
...
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