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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04969EE499F for ; Fri, 18 Aug 2023 23:23:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eXAo//GDrjZmcFI9PDRCejskCXL+ghBW4LpeN50oeIs=; b=MKdpcdMy+w9G+p oSxMv7jXr5/hrW2I9Ujjj/Iq9xGuxwwVHh3MlCnYVem/XkcN9UUnSE3xUoTw9SJQ9l7olMw0V5lpy kduyFJo7ZQIQbtANv/VRM+pu0E+57cpV65/gaQ/ekahFpyrKHKbqtzyHHHwTXyfySYs+uMzsq11nI jzx1bXzbXZaK/e/ybFj/pFbo+4tbMfnOJNu14Vq3a4NW4EyGLReNXzEq8h+RLnJFgBK+AYQcgUnvQ inANrJh6xEecopr5F0ljzAqNpD2cUd0PFkvtL7567QhN2gPHmrR/P1fYoK9HKp0pwIQntHShxouMO 1uHQVYuNgKSzk2R9e86Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qX8oZ-00A9u0-0q; Fri, 18 Aug 2023 23:23:35 +0000 Received: from mail-pl1-f179.google.com ([209.85.214.179]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qX8oW-00A9tO-2R for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2023 23:23:33 +0000 Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1bf3a2f4528so9490505ad.2 for ; Fri, 18 Aug 2023 16:23:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692401011; x=1693005811; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1h2USv9/D30/s9txAiqRvw8UknERd9pDiuV16mFYCUg=; b=d6K+k9h26RciSiMu/hoNyR6IhYM1TlcKeEX23XLbwmd7Gk9rwR3Dp0hMgBWwd5rzsq K047/lBDOrsZy43SZaP4YXD8mtafpWpdSgFahf36n7/kzFH6d5yXXurYbjiXmJSzSAmZ daqHqsPFKQwB5H+Yf8gBf9qP59W9g8J9y7bNpr4KVjPVM+AzTkqIXk+AnSmy6sFUT5r3 y7hnuDNdcdwUypVa7JbZwoEvex3l2n8XTUvyofVNKXW5248RpvrjAbP+6PoyIfGadE/i 97KusdAWyGsjDaYUvmqNHBH4NruSx5+nzKaUfQlTVTKqXy9N3bctp7AiPUrbXfrRqBmu neKw== X-Gm-Message-State: AOJu0Yxhf6laL2UV1QGW47Rni4lrVaVv11kl3wvBvDW0QMcORYmQn3re bldVxsNE7kTT1i6nd/vuOfk= X-Google-Smtp-Source: AGHT+IF9qWGcmBVVfF0EL+9TcYfKNHMZhClqyBpQhnA0cOKHPR3KnalzNL144dlz2GUaB7RJXZboAw== X-Received: by 2002:a17:902:c381:b0:1b8:4baa:52ff with SMTP id g1-20020a170902c38100b001b84baa52ffmr679420plg.47.1692401011347; Fri, 18 Aug 2023 16:23:31 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id 12-20020a170902ee4c00b001bbb1eec92dsm2296658plo.224.2023.08.18.16.23.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Aug 2023 16:23:30 -0700 (PDT) Date: Fri, 18 Aug 2023 23:23:13 +0000 From: Wei Liu To: Nuno Das Neves Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, patches@lists.linux.dev, mikelley@microsoft.com, kys@microsoft.com, wei.liu@kernel.org, haiyangz@microsoft.com, decui@microsoft.com, apais@linux.microsoft.com, Tianyu.Lan@microsoft.com, ssengar@linux.microsoft.com, mukeshrathor@microsoft.com, stanislav.kinsburskiy@gmail.com, jinankjain@linux.microsoft.com, vkuznets@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, will@kernel.org, catalin.marinas@arm.com Subject: Re: [PATCH v2 06/15] hyperv-tlfs: Introduce hv_status_to_string and hv_status_to_errno Message-ID: References: <1692309711-5573-1-git-send-email-nunodasneves@linux.microsoft.com> <1692309711-5573-7-git-send-email-nunodasneves@linux.microsoft.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1692309711-5573-7-git-send-email-nunodasneves@linux.microsoft.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230818_162332_794296_1CD92129 X-CRM114-Status: UNSURE ( 9.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 17, 2023 at 03:01:42PM -0700, Nuno Das Neves wrote: > hv_status_to_errno translates hyperv statuses to linux error codes. > This is useful for returning something linux-friendly from a hypercall > helper function. > > hv_status_to_string improves clarity of error messages. > > Signed-off-by: Nuno Das Neves Acked-by: Wei Liu _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel