Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jiri Slaby and committed by
Jens Axboe
25937580 0fb596ed

+1
+1
include/linux/libata.h
··· 484 484 }; 485 485 486 486 enum ata_completion_errors { 487 + AC_ERR_OK = 0, /* no error */ 487 488 AC_ERR_DEV = (1 << 0), /* device reported error */ 488 489 AC_ERR_HSM = (1 << 1), /* host state machine violation */ 489 490 AC_ERR_TIMEOUT = (1 << 2), /* timeout */