Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp319718rwd; Mon, 12 Jun 2023 14:09:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ryiRL0f4FAHvjjM+y4tmQSeCTeChrhaygo5r5uYeZ6riHxLApx7Jmk8vbIPKQI4ShfiUs X-Received: by 2002:a17:907:1b29:b0:974:62bc:4f42 with SMTP id mp41-20020a1709071b2900b0097462bc4f42mr10901161ejc.37.1686604192957; Mon, 12 Jun 2023 14:09:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686604192; cv=none; d=google.com; s=arc-20160816; b=nFxjuw7fQTjIAZRk2cz6TUNmsni5y2BIf6n1WGG3hK1y8rVeyo0oNjMES0RdEe34rv /1i8QhyKu+K6l3WEoxe4x7YRHkpkXnT7Ef6Tx5kbL1KNSlgHUvCl5/8TGCU+YmAf0KGF YghvAG0WzagGI6elVxBslvqWopW9Van9jtO1Pd0A0mNxopM52/2yJqmabC4oWru3IvxU tBoS5cR9jn/3eiX5zSRs81qT9QnqPL+/5MvKjW1iDIa+PfrtzFNieeMGy0OxbH2rU1f5 FRZDc/wUN/QvAPtFpB98cmHc/EfSbeORKDqcFgNan0wpcq68uJqiOExbHTJRrsrxawEz AhxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=i+jcnYRMNS3OQ7MkSUbW14J+ZrZD0EN+ZDdFEEU2f6k=; b=CnNwyfVerKbPNVUgV+VZWmrneI84Kyj8ckeGKoBuaPBqx2glaxv0MCte6NC/5huQtY dUbrDG6Sif6QpblTk58RoShTpNGT7+/BCbXC45nJOTUv/NNFCXEQSWHI0P+eIJhFGCkq tO93G9LR2tZfMGsC3jXZ2llo+6ASHt6wgl1J7prQ1GyTbbkreBQI5+OgtQsO7WS+6fI5 i4/HBzZCep7YraOj+Oa9aLLcm8tzafKbIxC/obI9qTMLUneVylkWXH6ycNTCrhcwUhEC igMXa4QzDvswltobPcNmnJXmOuu7zVSfPYZ1PQe/cC/dfk+jyf9ZpsShF+wY7AqUILfb s9og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OrRYsNW5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p9-20020a170906140900b00977ead65611si5692521ejc.573.2023.06.12.14.09.26; Mon, 12 Jun 2023 14:09:52 -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=@kernel.org header.s=k20201202 header.b=OrRYsNW5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238668AbjFLUwA (ORCPT + 99 others); Mon, 12 Jun 2023 16:52:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238401AbjFLUtw (ORCPT ); Mon, 12 Jun 2023 16:49:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D10C92970 for ; Mon, 12 Jun 2023 13:47:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 21C9E62F32 for ; Mon, 12 Jun 2023 20:45:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3604FC43326; Mon, 12 Jun 2023 20:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686602717; bh=9y+4Vs4tWIeKkTf1j6wqeFXVqgqDpdnK6mjpgkb8zFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OrRYsNW5i87RnzyJNUNbdbN80H+bXi6JFft5tA+X7QuwV7VwKSBcmV7H7S26d/pFU Vyx4wVzzcuWPaOvDQfAi5KXJeIWwTkoedCtRSt5SsKIAQ1+RN1dU/Se13wWW07y8hm 7q0ctKCyXYJrogFIQCt/EVmEOT9cCCKwM2REz9I8CkvR9z9WOUZcNfDQk3oCduv3xr jcSKGVgWrwdU5ZalP9I07PvQ1Qn4Q55Snzr9ckt0vQJdOyYJ92Ca9Lvwbkq2/o0Mng HVWb1Apw1iPs8AlaETBsEbdPduPGRcclmbdquSXJDi5lHHlwxM1zmHly1Cn3uZnskR XtDvwQ4S8YePQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 090E6CE3A80; Mon, 12 Jun 2023 13:45:16 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: gwml@vger.gnuweeb.org, kernel-team@meta.com, w@lwt.eu, Zhangjin Wu , =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Willy Tarreau , "Paul E . McKenney" Subject: [PATCH v2 nolibc 37/53] selftests/nolibc: print name instead of number for EOVERFLOW Date: Mon, 12 Jun 2023 13:44:58 -0700 Message-Id: <20230612204514.292087-37-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <8b757cc0-3719-4e63-a755-9710384137bc@paulmck-laptop> References: <8b757cc0-3719-4e63-a755-9710384137bc@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Zhangjin Wu EOVERFLOW will be used in the coming time64 syscalls support. Signed-off-by: Zhangjin Wu Reviewed-by: Thomas Weißschuh Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- 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 0d76790ffb0d..ffdf1e8c305c 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -107,6 +107,7 @@ const char *errorname(int err) CASE_ERR(EDOM); CASE_ERR(ERANGE); CASE_ERR(ENOSYS); + CASE_ERR(EOVERFLOW); default: return itoa(err); } -- 2.40.1