ide: pass error value to ide_complete_rq()
Set rq->errors at ide_complete_rq() call sites and then pass error value to ide_complete_rq(). [ Some rq->errors assignments look really wrong but this patch leaves them alone to not introduce too many changes at once. ] There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
37245aabfa
commit
6902a53312
7 changed files with 21 additions and 18 deletions
|
@ -1166,7 +1166,7 @@ extern int ide_devset_execute(ide_drive_t *drive,
|
|||
const struct ide_devset *setting, int arg);
|
||||
|
||||
void ide_complete_cmd(ide_drive_t *, struct ide_cmd *, u8, u8);
|
||||
void ide_complete_rq(ide_drive_t *, u8);
|
||||
void ide_complete_rq(ide_drive_t *, int);
|
||||
|
||||
void ide_tf_dump(const char *, struct ide_taskfile *);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue