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
4b68c65b
Commit
4b68c65b
authored
Jun 26, 2003
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up data direction in SCSI abstracted mode sense
parent
17ce0350
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_lib.c
+1
-1
No files found.
drivers/scsi/scsi_lib.c
View file @
4b68c65b
...
@@ -1388,7 +1388,7 @@ __scsi_mode_sense(struct scsi_request *sreq, int dbd, int modepage,
...
@@ -1388,7 +1388,7 @@ __scsi_mode_sense(struct scsi_request *sreq, int dbd, int modepage,
sreq
->
sr_cmd_len
=
0
;
sreq
->
sr_cmd_len
=
0
;
sreq
->
sr_sense_buffer
[
0
]
=
0
;
sreq
->
sr_sense_buffer
[
0
]
=
0
;
sreq
->
sr_sense_buffer
[
2
]
=
0
;
sreq
->
sr_sense_buffer
[
2
]
=
0
;
sreq
->
sr_data_direction
=
SCSI_DATA_READ
;
sreq
->
sr_data_direction
=
DMA_FROM_DEVICE
;
memset
(
buffer
,
0
,
len
);
memset
(
buffer
,
0
,
len
);
...
...
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