From: Jiri Slaby Date: Thu, 31 Oct 2019 09:59:44 +0000 (+0100) Subject: ata: define AC_ERR_OK X-Git-Tag: v4.9.238~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9961f2976fa2e088c624ed8c003e0e44ff6f679d;p=platform%2Fkernel%2Flinux-amlogic.git ata: define AC_ERR_OK commit 25937580a5065d6fbd92d9c8ebd47145ad80052e 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 Cc: Jens Axboe Cc: linux-ide@vger.kernel.org Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/libata.h b/include/linux/libata.h index e2dac33eae96..69d66d0dca5d 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -499,6 +499,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 */