Thread (2 messages) 2 messages, 2 authors, 2017-11-10

Re: [PATCH] ide: ide-atapi: fix compile error with defining macro DEBUG

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-11-10 15:30:07

On 11/10/2017 12:59 AM, Hongxu Jia wrote:
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
Thanks, applied.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help