Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp41538rwd; Wed, 24 May 2023 13:51:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6LY/hGk6I64+u9jTeluM62zK8PJZbR30OlJ5m3DKL4SamJjkvR8toLkqNGcf3B/X5ZC5Zf X-Received: by 2002:a17:90a:4ce5:b0:24e:3bb3:ea0c with SMTP id k92-20020a17090a4ce500b0024e3bb3ea0cmr17273006pjh.10.1684961518350; Wed, 24 May 2023 13:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684961518; cv=none; d=google.com; s=arc-20160816; b=N5IY6D/x2kdVzLbNfHe3elihHchb7Z+7Axmu+KctdkE4AaOTw81hUBKmyvibUT7u2d FGcIgqHmQuhCqvhwGQKD5bjd0z2xOp6Pu+wogZ/dk8BejaSnOqHvqwX2940rRBM1Xkk9 P7UViCLRDNz3fOD9XRyuz+v+mZjiSb8XN+KdToANuw+7N4DglCogZ0eIFH3ll0vKAO2N XeUmSV5ezbONRvB7J+ZpQE+wzCiORLcJQcVYXAT/QqXwH1gF0IBDEnqIyj42Dfra2Ppv f4ZIU1/cHBcTGeopODs5vb5vVfVX/+ix3hcjeAJAq1+xWtfgOFIvzz/HDghJOfIQOZLI 2iLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=MWTbRawmEUB7zon7rkmpELSHqC2KeORQMmL3phlWBtA=; b=Gf9SUk2sfZJ02OCkSRm+rukCJsMb5sjYfe4AliVhLeg/m2F1bxN44zomWAIgSLwuJO jJyimyqRpEo9Rh5FiLKR7wYjwaR/RYfyRY8GJSCJo0rmOe2KVeiERxfv8BfjzPuNFcAX 79PyxoGLGlKa/bLWvlHlwZN5rJx77i/wCwfHSMy7vBtYBloHUn6GBAqbQDxb5iUwQfgT z6Fn/tr2jj9c7RuAP85sdXDvWUecus7pNzHBkHo7CugHmwdmcJ0I9E9yGHkcqp5055De RJ7MWlafLMVokmFbzaBQ9HYrXVyHRISBBjsKdHJ1Ug4agR6ECa9JzAYrdlCpOvw5sid2 UgOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=A0YLG6pn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h130-20020a636c88000000b005194eaa611csi1306793pgc.397.2023.05.24.13.51.42; Wed, 24 May 2023 13:51:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=A0YLG6pn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236528AbjEXUXZ (ORCPT + 99 others); Wed, 24 May 2023 16:23:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236520AbjEXUXY (ORCPT ); Wed, 24 May 2023 16:23:24 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CEF110B; Wed, 24 May 2023 13:23:23 -0700 (PDT) Date: Wed, 24 May 2023 22:23:21 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1684959801; bh=KBR+D5DkiEabYDakDmSuQC67ISME1Q3hgqDEWVsqjMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A0YLG6pn5tmEp6NyVYaG5HAAlcAJ4N1aXkQRyvb6/j4CVevfkuOWmme/cGz97ViEB z5J56HrqK9kMm3mS7OKFM014cOWiVWQq2ZDgcyF8qy1qrg+uY/W1rjc/MiWNioAmEF MORGw0mDiOZlyHMpoTk5kgOMXGrWssNzXauX2XeM= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Zhangjin Wu Cc: w@1wt.eu, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com Subject: Re: [PATCH 03/13] selftests/nolibc: print name instead of number for EOVERFLOW Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-05-25 01:46:54+0800, Zhangjin Wu wrote: > EOVERFLOW will be used in the coming time64 syscalls support. > > Signed-off-by: Zhangjin Wu Reviewed-by: Thomas Weißschuh > --- > tools/testing/selftests/nolibc/nolibc-test.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c > index c570bb848c1a..227ef2a3ebba 100644 > --- a/tools/testing/selftests/nolibc/nolibc-test.c > +++ b/tools/testing/selftests/nolibc/nolibc-test.c > @@ -106,6 +106,7 @@ const char *errorname(int err) > CASE_ERR(EDOM); > CASE_ERR(ERANGE); > CASE_ERR(ENOSYS); > + CASE_ERR(EOVERFLOW); > default: > return itoa(err); > } > -- > 2.25.1 >