Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp968516lqh; Fri, 29 Mar 2024 03:00:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKkMLohurglE5XnxS9k0IOQBw7Lf1jcMwLDi6x1EkW20mmu5MiFbJXJnfbHf9YT+lAgbgsDChZFOXpwc+X5sHdQliOJRglLwL+gPdH2Q== X-Google-Smtp-Source: AGHT+IESRFsf8jUVmdDB1I4fmOB2hWt8AqPJEdwGUnFmYwyLADSPCCGAiqTcVMUjrrhIS5wIoFkZ X-Received: by 2002:a05:6214:16d2:b0:696:2b3e:7813 with SMTP id d18-20020a05621416d200b006962b3e7813mr1386562qvz.17.1711706412721; Fri, 29 Mar 2024 03:00:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711706412; cv=pass; d=google.com; s=arc-20160816; b=0uueQn8bxztLR/fwm5UJCZnseSvbjupbPTBfkuAi7U37IZ2WiTuKDcY02jn9JnwiGK sa4vUXitRTAkmYSeUfmQtFhO+ri6OiiV1u93XUkl8WI77GVZAZnj9Zar5kR5QHk+cUC9 LvwvFHd9neBg4XWs84fZk2ijZlIxo79h+Ex/u8/gRLOTJzNUAwh4Hu8/Xavla5GQSfAZ WDYSHLJB9wrMODblBNUSiCnIF90y1nW4qQD680CTR/FduAC+Jjg0kbhcNBXOd6mbvmCK 5gSmNPMCtIYxiakvdwXifKOMitIIkwCcbZ7ZOFOoN2yccpQCKnSuOPSOFkCLn+rKpsQZ pUyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=T4QfsMvvS4ONuMp/YO6oLsXGmhTA53qMOyPn8WcHdak=; fh=bf17DRliddYLabQ8FHYr/5qadlVY0WYw8uAtlly/tLA=; b=zo33fyDCOXH9HIAl+oUSpV3RB4s6G6fqrr6YtzNM7uCurAD7Gc+hDMydnr2ZGkQqq8 Mmnbt/q/Iq5eFMhPz8Kbm22X2wlJIH1VvqEuvi7T9X7VLugQjb3AM3Z9gHQE6ulo5t82 zfrMZh0IAilojAXvUhCi0zTI3WzSPxNpiTutIrsU2QlD9ktkDrHSmkV3rlHx680nX8sh r79FOSLa7Z7u32sY0R2y3y4WIB2bS7xhs068DDFRO/wIghniZWP1mABlvjPDKsL8ApWe GhUTEmoopi08v1v3udB3emTIvffnc4O0/Mxzl9R6x3rXOZAPbKe6vME18Omj4bsg0/5P YXng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iVSnU9XO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124374-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f8-20020a05621400c800b00696b2572e10si3306949qvs.313.2024.03.29.03.00.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 03:00:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124374-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iVSnU9XO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124374-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 69D391C21F81 for ; Fri, 29 Mar 2024 10:00:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9248524A6; Fri, 29 Mar 2024 10:00:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iVSnU9XO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 190AA3C082; Fri, 29 Mar 2024 10:00:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711706405; cv=none; b=th1D00qEyepyyfwU+J/SXraU17CrzIkf7dF06Voa6mTucIlrkJ23306HlPacLKKFJM0vlCguadYpS9s7aL5/qmaLUNI1rMRu7VhvAbec/PEUjFSSP0vTu038JnGzMHUJjDQMkmv1gRPaMPGHCCI3+vBimQyUwFFWyiNcx/uszic= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711706405; c=relaxed/simple; bh=JeoL8tgYfRLmQeXbdQXINzajoj/M5gYJO3hcMiPqF2k=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=byoIMWbT3ydTvoP/8i0FXXMfEV1ynpDcvisb8I6/35p6ISOdNIuq6NEnOXPSmSBhc3sDJGaoMJpr6oRTPXDggRN9ixyeqrACJ1b9GLzIBM+fJhrPmt9t9QZ9qaVd24qpk/m7gwhmAx0D3ydFgDjzb1XQdYU9NrYSWzDKOBKwMa8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iVSnU9XO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F8EDC43399; Fri, 29 Mar 2024 10:00:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711706404; bh=JeoL8tgYfRLmQeXbdQXINzajoj/M5gYJO3hcMiPqF2k=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iVSnU9XObqaWBkUNHLJwjDFW8dNzRQvPprcHtt7FcCVRqDeLFstsVgTAX8qR+0zWL 1CGfLNG8jFhqK6Nr8iLUSLKYlF61P2Bg4veHSXK7LzQA217KXGNNQDXbEzFeK/rLwX lqX9MvwjF+5NO8brOWTMJf8mNguD8Gy16OzJHRC2tCNw8Yf7z2Zshh6xu8iAevLMwJ lg5gGRTCANjtuq95hgSoTSTT9cjrTuT8N3QMf7QBXWW6F9PdwbTNZc5SGm1uUO8zho 5JcWlI1Ih6SDlwQsCh+w7M1Wrv5jOv8DiVAiitQMXn77TXtMHYY0fQurGAOGbWEoVs h3G9FNja6f0MQ== Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d700beb6beso24319051fa.2; Fri, 29 Mar 2024 03:00:04 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUve0kLwBMTuJfTySySN8mA+SmLoWbwdPV/vRrlPPFmulW5F7sDa6LyMXyi4tcH4XbOXrZ4bZYHxSDEXTrbZWQR1vD7G1LyKPTQxXFpOrp4zdmCQueUpj9ALdhYPm0fJ6YpGmwQJJuKo0JF X-Gm-Message-State: AOJu0YzEvz6U33jpWRErkY27rTlZGc4iXIrPDsQxehriu/pHNk7dLY2T NWdEWTuZcqvzS5dC7GKwth5DMGff+9RUnAwwe8Ayxv9C0BFZLA9DceS/QZnETgLRwFuzBp9Drw/ PmFW8vFJAykeEKuoDtYx5a2DElTI= X-Received: by 2002:a05:6512:3b27:b0:515:bae0:1136 with SMTP id f39-20020a0565123b2700b00515bae01136mr1676897lfv.65.1711706403212; Fri, 29 Mar 2024 03:00:03 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240320180134.100863-1-arnd@kernel.org> In-Reply-To: <20240320180134.100863-1-arnd@kernel.org> From: Masahiro Yamada Date: Fri, 29 Mar 2024 18:59:26 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] scripts/unifdef: avoid constexpr keyword To: Arnd Bergmann Cc: Tony Finch , Sam Ravnborg , Arnd Bergmann , Nathan Chancellor , Nicolas Schier , linux-kbuild@vger.kernel.org, Michal Marek , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 21, 2024 at 3:01=E2=80=AFAM Arnd Bergmann wro= te: > > From: Arnd Bergmann > > Starting with c23, 'constexpr' is a keyword in C like in C++ and cannot > be used as an identifier: > > scripts/unifdef.c:206:25: error: 'constexpr' can only be used in variable= declarations > 206 | static bool constexpr; /* constant #if e= xpression */ > | ^ > scripts/unifdef.c:880:13: error: expected identifier or '(' > 880 | constexpr =3D false; > | ^ > > Rename this instance to allow changing to C23 at some point in the future= . > > Fixes: d8379ab1dde3 ("unifdef: update to upstream revision 1.190") This can be a problem only for future kernels. Is it worth adding Fixes? Even if the kernel bumps to C23 at some point, such a patch will not be backported. --=20 Best Regards Masahiro Yamada