projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb045ca
)
nvme: fix compilation of scsi component
author
Jens Axboe
<axboe@fb.com>
Mon, 30 Jan 2017 03:04:49 +0000
(20:04 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 30 Jan 2017 03:04:49 +0000
(20:04 -0700)
Since we moved the cdb parts and define out of the block proper,
we need to include scsi/scsi_request.h for the nvme scsi layer.
Fixes:
82ed4db499b8
("block: split scsi_request out of struct request")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/scsi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/scsi.c
b/drivers/nvme/host/scsi.c
index a5c09e703bd8636d96c9c0c7d603226e46518f61..0f0fcea9a2c191a9d9a404fb9ae835247a873ba5 100644
(file)
--- a/
drivers/nvme/host/scsi.c
+++ b/
drivers/nvme/host/scsi.c
@@
-43,6
+43,7
@@
#include <asm/unaligned.h>
#include <scsi/sg.h>
#include <scsi/scsi.h>
+#include <scsi/scsi_request.h>
#include "nvme.h"