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
ca855a5e
Commit
ca855a5e
authored
Apr 15, 2017
by
James Bottomley
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'mkp-scsi/4.11/scsi-fixes' into fixes
parents
0e1bfea9
e7661a8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_lib.c
+2
-2
No files found.
drivers/scsi/scsi_lib.c
View file @
ca855a5e
...
@@ -1061,10 +1061,10 @@ int scsi_init_io(struct scsi_cmnd *cmd)
...
@@ -1061,10 +1061,10 @@ int scsi_init_io(struct scsi_cmnd *cmd)
struct
scsi_device
*
sdev
=
cmd
->
device
;
struct
scsi_device
*
sdev
=
cmd
->
device
;
struct
request
*
rq
=
cmd
->
request
;
struct
request
*
rq
=
cmd
->
request
;
bool
is_mq
=
(
rq
->
mq_ctx
!=
NULL
);
bool
is_mq
=
(
rq
->
mq_ctx
!=
NULL
);
int
error
;
int
error
=
BLKPREP_KILL
;
if
(
WARN_ON_ONCE
(
!
blk_rq_nr_phys_segments
(
rq
)))
if
(
WARN_ON_ONCE
(
!
blk_rq_nr_phys_segments
(
rq
)))
return
-
EINVAL
;
goto
err_exit
;
error
=
scsi_init_sgtable
(
rq
,
&
cmd
->
sdb
);
error
=
scsi_init_sgtable
(
rq
,
&
cmd
->
sdb
);
if
(
error
)
if
(
error
)
...
...
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