diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:43 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:43 -0400 |
commit | 6902a5331256e1b9f4cef95a1e3622252113b260 (patch) | |
tree | f33ef1a732425e1862fcf0bbd0e909f82d247a8a /include/linux/ide.h | |
parent | 37245aabfa0c628ba884cd88fe5cd633b426a1b2 (diff) |
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>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index f910f4ccfaa0..32369d5797de 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1166,7 +1166,7 @@ extern int ide_devset_execute(ide_drive_t *drive, | |||
1166 | const struct ide_devset *setting, int arg); | 1166 | const struct ide_devset *setting, int arg); |
1167 | 1167 | ||
1168 | void ide_complete_cmd(ide_drive_t *, struct ide_cmd *, u8, u8); | 1168 | void ide_complete_cmd(ide_drive_t *, struct ide_cmd *, u8, u8); |
1169 | void ide_complete_rq(ide_drive_t *, u8); | 1169 | void ide_complete_rq(ide_drive_t *, int); |
1170 | 1170 | ||
1171 | void ide_tf_dump(const char *, struct ide_taskfile *); | 1171 | void ide_tf_dump(const char *, struct ide_taskfile *); |
1172 | 1172 | ||