1
0
Fork 0

ata: define AC_ERR_OK

commit 25937580a5 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5.4-rM2-2.2.x-imx-squashed
Jiri Slaby 2019-10-31 10:59:44 +01:00 committed by Greg Kroah-Hartman
parent b4a9fdf062
commit b6e503c0a0
1 changed files with 1 additions and 0 deletions

View File

@ -486,6 +486,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 */