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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 957C8C7EE29 for ; Sun, 4 Jun 2023 10:50:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231236AbjFDKuS (ORCPT ); Sun, 4 Jun 2023 06:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229578AbjFDKuN (ORCPT ); Sun, 4 Jun 2023 06:50:13 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 561E7B4; Sun, 4 Jun 2023 03:50:12 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 354Ao34u001739; Sun, 4 Jun 2023 12:50:03 +0200 Date: Sun, 4 Jun 2023 12:50:03 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Shuah Khan , "Paul E. McKenney" , Vincent Dagonneau , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] tools/nolibc: ensure fast64 integer types have 64 bits Message-ID: References: <20230530-nolibc-fast64-v1-1-883dea6bc666@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230530-nolibc-fast64-v1-1-883dea6bc666@weissschuh.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 30, 2023 at 11:18:00AM +0200, Thomas Weißschuh wrote: > On 32bit platforms size_t is not enough to represent [u]int_fast64_t. > > Fixes: 3e9fd4e9a1d5 ("tools/nolibc: add integer types and integer limit macros") > Signed-off-by: Thomas Weißschuh > --- > Cc: Vincent Dagonneau > > Note: We could also fall back to compiler-provided data like: > > __UINT_FAST{8,16,32,64}_{TYPE,MIN,MAX}__ I'm fine with the way you did it. I'm wondering how we managed to miss this one given the tests in place! Now queued, thank you Thomas. Willy