diff options
author | Jiri Slaby | 2019-10-31 10:59:44 +0100 |
---|---|---|
committer | Jens Axboe | 2019-11-01 08:50:49 -0600 |
commit | 25937580a5065d6fbd92d9c8ebd47145ad80052e (patch) | |
tree | 31536609bce89dfe42daa658a81d861fd77e7562 /include/linux/libata.h | |
parent | 0fb596edaa52133fb877f509c2e5d907ee601d6b (diff) |
ata: define AC_ERR_OK
Since we will return enum ata_completion_errors from qc_prep in the next
patch, let's define AC_ERR_OK to mark the OK status.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 207e7ee764ce..b63ce4ebcd66 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -484,6 +484,7 @@ enum hsm_task_states { }; enum ata_completion_errors { + AC_ERR_OK = 0, /* no error */ AC_ERR_DEV = (1 << 0), /* device reported error */ AC_ERR_HSM = (1 << 1), /* host state machine violation */ AC_ERR_TIMEOUT = (1 << 2), /* timeout */ |