Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1958647rwe; Sat, 15 Apr 2023 08:56:05 -0700 (PDT) X-Google-Smtp-Source: AKy350aS1SRDB6BqG8Ic4A1jsPbOSIqeTnPN0Pz6+qNWA2kyutkNl+EF5fKr7BLASPE+xF2SfGuq X-Received: by 2002:a17:903:120e:b0:1a1:b174:836c with SMTP id l14-20020a170903120e00b001a1b174836cmr7457121plh.16.1681574165503; Sat, 15 Apr 2023 08:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681574165; cv=none; d=google.com; s=arc-20160816; b=Np6eo2lIvnJC/byfmarfqD/hioqjcgpXItOkagjdojZsz14L7aD2w1d37od1DZFKs6 M15qxLdMvjAbe/yQO6MG0zH5F82Jb+faNyvwbUyqFmzzcQhWRERIQIlXHJR7sZzQNUhV 2/Mi6oJMtvzr5rol/c/k9RHWEtEmQdiX9RGgrLLo0RfLYaQmdOBSsjGdm/NPMI9oCc86 e5aQ8ucDenBB0JZ9l3fDTEPiQM39lEOdoetUniMQ6s1GBesQgA7SxNMu8FfvdoBJA39k rxmSi6buJPRDLgbVszCFDuqnYDgV9TY+F/n5FgWNS4I95s5sT9Z/njgQxRm6QH/G3/cD +cXQ== 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=dqgNkJIVRYEFbod59mwVZqlP0vj6KXipCgkGtP2YBgk=; b=Bxte3cTsXKdJKRzyU0GO+v1xo6LzEYLMJAqIG1TJsU5FXPQVFoW/ULlcQdft5Pdueb ZGpA93042OD5huiwZhsMzZcF+M7EU3OkZdfYa2QMhCXt1LAZMjYq5fz36xgOTA6twW9z /t7PdmPvF0Nj3HFlBGI+sQyKkL8IwHIQpoP4Iy1dqZxcsHkNhmYCmRguhSLYIVIeQj1O yqHjCCV+IN3Y+nNsezu6EWnjZ9YoMwEwWhzgAlEHOaqagDByqDcLvuQNoF2soNT5Hr4h 1HMFpCfjjHrgwfyvvgza3rjWZTA/RWE569Mem62KiXmeqqDfkgs/kgr5qGzwWJnPZ6X+ 6F+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=S9Igvkz9; 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 t16-20020a170902b21000b001a68270e55asi4930056plr.526.2023.04.15.08.55.52; Sat, 15 Apr 2023 08:56:05 -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=@weissschuh.net header.s=mail header.b=S9Igvkz9; 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 S229930AbjDOPPe (ORCPT + 99 others); Sat, 15 Apr 2023 11:15:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjDOPPd (ORCPT ); Sat, 15 Apr 2023 11:15:33 -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 EA51540EC; Sat, 15 Apr 2023 08:15:29 -0700 (PDT) Date: Sat, 15 Apr 2023 17:15:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1681571728; bh=PHGt+W7NxEPDtQSyORfCnDMsqkljH8VZv53sZGUyqI0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S9Igvkz9VpsW/V72zgvqKQcAeVJWNCDfO2XZVnNhkpQG9aEitCLDNS+7snMEYxABZ JA6ouk4ZB+c6yOisadjNJcU8wZ56mp6OnIgEDNJTEsF3HVdokcOyj+Xn6l1CyujGTY JtK3TsCz5ud9ksS+6BYjEj1RGwL9AMXChbaYFvUk= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Willy Tarreau Cc: Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 00/11] tools/nolibc: -std=c89 compatibility Message-ID: References: <20230328-nolibc-c99-v2-0-c989f2289222@weissschuh.net> 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, URIBL_BLOCKED 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-04-15 16:47:03+0200, Willy Tarreau wrote: > On Sun, Apr 09, 2023 at 11:28:46AM +0200, Willy Tarreau wrote: > > On Thu, Apr 06, 2023 at 09:54:46PM +0000, Thomas Weißschuh wrote: > > > This series replaces the C99 compatibility patch. (See v1 link below). > > > After the discussion about support C99 and/or GNU89 I came to the > > > conclusion supporting straight C89 is not very hard. > > > > > > Instead of validating both C99 and GNU89 in some awkward way only for > > > somebody requesting true C89 support let's just do it this way. > > > > > > Feel free to squash all the comment syntax patches together if you > > > prefer. > > > > I gave it some thought, at first considering that going lower than GNU89 > > was possibly not very useful, but given that the changes are very small > > in the end (mostly comments formating), I think that you're right. The > > cost of reaching this level of portability is basically zero once the > > patch is applied so I think it's worth doing it now. However I think I > > will indeed squash all the comments patch together as you suggest. > > I've now squashed the ones about comments together, fixed the declaration > inside the for statement in nolibc-test and tested with gcc 4.7 & 4.8 and > confirmed it works as expected. I've queued it there for now: > > https://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc.git/log/?h=20230415-nolibc-updates-4a Thanks! I noticed today that I did not adapt the comments in arch-s390.h; because the start() comments were already correct. But the last line of arch-s390.h still contains a C99 comment. Do you want me to send a patch or could you just push one? (Or fold it into my patch) Thanks, Thomas