Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6143885rwd; Wed, 24 May 2023 11:17:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4SgC7RtNl00Gq0o+GHuMqZjAPbo34nAgcfW5gzjuxe7xGFToG94gfcFMTl/m09cJKxkji2 X-Received: by 2002:a05:6a20:160e:b0:10b:78d7:502 with SMTP id l14-20020a056a20160e00b0010b78d70502mr12529196pzj.36.1684952255867; Wed, 24 May 2023 11:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684952255; cv=none; d=google.com; s=arc-20160816; b=FckC/B0QeXfEX8JxidYOL3R78YwheeQcEIBy2mmp59VCqH5fcibW+2ioERqts6KnUv IR+CP1K+1vvPYLMVNhlMRbBs8wPO25q6tVEniWWsrPl5gVes9b4LvGqxAt43BetfiR0T H3ACZJP0PC7NDhlJEfmB0Es/1RKCrfZHLzlFc/7imjKZ3zn8eKeQ79NnadfO+JRrdN2f Va2R/E+ot/M8MY6oihfl2rDVBPtHN8GE5m8n8jwGjPkQ4dwlqrsZZDBds0V4I33WnKfK 3vWlqmVzTjEZsj5xTFlWh0mSBeOu5MBgIcsjFPd+jc6jNob/xd5JL7OKFgseyOK/Ye4B gDMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=DpOcefT2/qFgzh0X7rvKEwDLpoa6tCWM/9fj51TSMo8=; b=NjkiGKqsllDuQc/TE++BmYNlJSCUw1o/udoDp8APAvhJfNpSOoDbiUQhLLUQIAoL1V KRW2V+IValGoIAAtyfwcb4938y0oTgpuW6p1OdO2bcE/+TmDV92ozqyZFBt6oTfpWObK NQTyZPt5AeVkijjRksmZtr6iCUNahPp+3E3ci9iVZ7D2yvsYIUL/ewioIcbl1KuvGM3O f50YbzPEcaMze1XnFJHhxV4wrC3kU1OyA2rlEh4381B7lXCpSOByO4mIGdXBTw6cKi19 POwdj8IKaQDr0EOL87ek+8KQNXCMm9pZLKr4It1Jjrf1DlP34EERRnkHcG/Zg4EODomB CM/A== ARC-Authentication-Results: i=1; mx.google.com; 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 24-20020a631258000000b005346d98e741si8840138pgs.50.2023.05.24.11.17.21; Wed, 24 May 2023 11:17:35 -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; 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 S236188AbjEXRrm (ORCPT + 99 others); Wed, 24 May 2023 13:47:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236143AbjEXRrk (ORCPT ); Wed, 24 May 2023 13:47:40 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.221.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04E49E69; Wed, 24 May 2023 10:47:09 -0700 (PDT) X-QQ-mid: bizesmtp74t1684950423t77e0lrx Received: from linux-lab-host.localdomain ( [116.30.125.36]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 25 May 2023 01:47:01 +0800 (CST) X-QQ-SSF: 01200000000000D0V000000A0000000 X-QQ-FEAT: znfcQSa1hKZBlxy494Gp/CUTxDNxeJi9g6MNrUFAmf11ZBmaQQlpsB9yjSoP9 kCNyyfNK4LVYRCC+QxI5nml5abQCRTMKoiHD1uZbPRTZ1RzErA2+ejZ5gCTE4aaBmHm5bj/ ZQ1bgyUYryKHFl0PJWO5ymVDxnE2EuM41izSnz1UsJHmnDxwhtoG9KaU3OBjNXlgs+zbNtw 5i9MDjM0WHVF2a96ojpLDypn3LHo2HPKKA40Q0jjS2qTrMgN6Fci78eZmVfBjVwe6Rx4Pj+ NvUiNs0b9UznWltOOMBCnR8UPvdOzT4vkcsKKbIerPec1+SV01TSUsBd4hWFiKtvEnBRr9S KVY5EDSIESXpdffOq9gmaBnmtPOtzRkYz4oX4hJkkwSFjsyihUHNRYIIYhw7Um6ZkKDhbVj X-QQ-GoodBg: 0 X-BIZMAIL-ID: 10920217601069788465 From: Zhangjin Wu To: w@1wt.eu Cc: falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, thomas@t-8ch.de Subject: [PATCH 03/13] selftests/nolibc: print name instead of number for EOVERFLOW Date: Thu, 25 May 2023 01:46:54 +0800 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrsz:qybglogicsvrsz3a-3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, 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 EOVERFLOW will be used in the coming time64 syscalls support. Signed-off-by: Zhangjin Wu --- 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