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 715B8C4727F for ; Tue, 29 Sep 2020 12:46:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E9F1208B8 for ; Tue, 29 Sep 2020 12:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601383615; bh=QDKfxoDM+5T1esu0nK05mSRgSFZGbDKj4bGkOREDUnc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=w9splnvRMht/pKVya03LmE3dVmaOUQJQ+HOZfiahxwAYmjNHrHq7lUDpfnqSM3DGK P0hpaz4dJ+sBoFWNfByPs/tb+lfWN9LKBJJM60MmTKzfe6YNR3PDJ3iV7Elr/J54GC hZ2u6VFStPC0TJGaJ8dSmJH98uurLm2On3kBiRcY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387564AbgI2Mqy (ORCPT ); Tue, 29 Sep 2020 08:46:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:43724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728346AbgI2LGU (ORCPT ); Tue, 29 Sep 2020 07:06:20 -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 C7D43221E7; Tue, 29 Sep 2020 11:06:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601377579; bh=QDKfxoDM+5T1esu0nK05mSRgSFZGbDKj4bGkOREDUnc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ui3trTfl6UlPHCVQFvvYwBVuaC9ivlxyvIDpY+UP0l4R0CST9sLFglKasVdX+xeT4 MBna1jkg7f7GzML80iBYXi/qCSdiJgcFfwEd7337Zh24mbeB06bU/Ier8re3Np68n1 A87b8/d6fAXcAgclHwOp0oemHApTT2VeFs+WIZv4= 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.4 83/85] ata: define AC_ERR_OK Date: Tue, 29 Sep 2020 13:00:50 +0200 Message-Id: <20200929105932.330957859@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929105928.198942536@linuxfoundation.org> References: <20200929105928.198942536@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-kernel@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 @@ -500,6 +500,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 */