diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-11-10 15:59:17 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-10 19:56:25 -0700 |
commit | 8dc7a31fbce5e2dbbacd83d910da37105181b054 (patch) | |
tree | ae73fd31036c499a49d05a7f55275aef48000384 /block | |
parent | f906a6a0f42684715b552ccff9282b22cfe2b5a2 (diff) |
ide: ide-atapi: fix compile error with defining macro DEBUG
Compile ide-atapi failed with defining macro "DEBUG"
...
|drivers/ide/ide-atapi.c:285:52: error: 'struct request' has
no member named 'cmd'; did you mean 'csd'?
| debug_log("%s: rq->cmd[0]: 0x%x\n", __func__, rq->cmd[0]);
...
Since we split the scsi_request out of struct request, it missed
do the same thing on debug_log
Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request")
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions