From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A704C4727F for ; Tue, 29 Sep 2020 11:12:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D6AF420848 for ; Tue, 29 Sep 2020 11:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601377968; bh=U+ftBvOarcjbLB7B70uQFluS7bcE0hD46Vx9CjEjKUY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=vZlxuK2DV1XRd8dFaT0NALSW18uuSTttk14xe7rwH3KrEHQWF3EiMUiJHueJYqthS /c0b4jkv7Lp/10D+hLhTaVvcjiVtcYDACLu8BcngLKrSXxtdIHKpUpukJGrQa/3fUL 5wlCUOBZN7x2FM5CH+HOo+2TxfZfUtMm58HDUvBY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729350AbgI2LMs (ORCPT ); Tue, 29 Sep 2020 07:12:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:54014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727761AbgI2LMS (ORCPT ); Tue, 29 Sep 2020 07:12:18 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C575D206A5; Tue, 29 Sep 2020 11:12:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601377937; bh=U+ftBvOarcjbLB7B70uQFluS7bcE0hD46Vx9CjEjKUY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u1JvAU7qdBe5/JBA63hA785cZZ1L428O9iJgVjOsqaNcEu4RwEqcF5bGOrpVprgtT 45vdejpG7QHBFxpcR8XdqljJTiQQPiZdtJlKlYB5PRRS8r7kvfdmHhWnhyRahCeYBG 1m/aJj2Xn2F3kXituIiIUwbHuY3TuKjBqnne49jw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jiri Slaby , Jens Axboe , linux-ide@vger.kernel.org Subject: [PATCH 4.9 119/121] ata: define AC_ERR_OK Date: Tue, 29 Sep 2020 13:01:03 +0200 Message-Id: <20200929105936.080150941@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929105930.172747117@linuxfoundation.org> References: <20200929105930.172747117@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From: Jiri Slaby 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 --- include/linux/libata.h | 1 + 1 file changed, 1 insertion(+) --- 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 */