Arnd Bergmann
8bd70f3b22
UPSTREAM: scripts/unifdef: avoid constexpr keyword
...
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 expression */
| ^
scripts/unifdef.c:880:13: error: expected identifier or '('
880 | constexpr = false;
| ^
Rename this instance to allow changing to C23 at some point in the future.
Bug: 401172689
Bug: 422603167
Change-Id: I19e1c13f5dcffe98b8189d3317100f20774f1d4c
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Reviewed-By: Tony Finch <dot@dotat.at >
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu >
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
(cherry picked from commit 10f94d8fcc0880c93d7697184fe199022792a61c)
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com >
(cherry picked from commit b7fd55a297a77e72154def86b46c3d1cf1ffa1e1)
2026-01-15 06:30:24 +01:00
..
2017-08-10 01:01:03 +09:00
2019-06-11 12:21:51 +02:00
2024-10-18 20:16:21 +03:00
2024-09-07 12:22:53 +03:00
2019-12-05 15:37:04 +01:00
2024-10-18 20:16:12 +03:00
2024-10-18 20:16:22 +03:00
2017-03-28 16:16:52 +02:00
2023-10-11 19:14:52 +00:00
2018-05-30 07:52:21 +02:00
2022-11-01 12:06:43 +02:00
2021-08-15 13:03:31 +02:00
2017-06-23 14:17:38 -06:00
2018-05-30 07:52:17 +02:00
2023-05-01 13:06:48 +03:00
2021-06-03 08:36:11 +02:00
2017-05-14 11:20:44 +09:00
2018-06-14 17:07:45 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-05-18 16:04:11 -07:00
2017-05-18 16:04:11 -07:00
2017-05-18 16:04:11 -07:00
2017-11-02 11:10:55 +01:00
2023-12-15 09:31:15 +00:00
2019-06-25 11:36:53 +08:00
2017-11-02 11:10:55 +01:00
2024-05-06 18:28:03 +02:00
2018-04-25 16:04:04 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:06 +01:00
2021-06-03 08:36:11 +02:00
2020-07-29 07:42:54 +02:00
2020-05-20 08:17:01 +02:00
2021-01-12 20:09:06 +01:00
2021-06-03 08:36:11 +02:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2022-11-30 10:37:47 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-03-16 18:10:40 +02:00
2018-02-07 11:12:17 -08:00
2021-03-11 10:21:05 +05:30
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2024-10-10 10:27:56 +00:00
2024-10-10 10:27:56 +00:00
2017-07-07 15:09:09 -07:00
2021-07-21 20:40:31 -07:00
2017-05-14 11:20:44 +09:00
2017-08-08 11:09:31 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2024-10-20 18:30:25 +03:00
2017-11-02 11:10:55 +01:00
2023-02-14 12:50:53 +02:00
2024-05-06 18:28:02 +02:00
2022-09-26 20:02:18 +03:00
2017-11-02 11:10:55 +01:00
2021-12-16 11:36:23 +00:00
2017-11-02 11:10:55 +01:00
2021-03-11 10:21:05 +05:30
2021-03-07 11:46:40 +01:00
2021-08-11 09:10:12 +00:00
2024-10-18 20:16:21 +03:00
2017-12-18 21:11:22 +05:30
2017-11-02 11:10:55 +01:00
2021-03-11 10:21:04 +05:30
2024-05-30 09:00:38 +00:00
2020-01-13 19:38:49 +00:00
2021-08-11 09:00:03 +00:00
2022-10-05 23:46:36 +03:00
2019-07-10 09:14:22 -07:00
2020-01-13 19:38:49 +00:00
2024-05-06 18:28:02 +02:00
2017-11-02 11:10:55 +01:00
2017-12-18 21:11:22 +05:30
2022-09-14 19:56:21 +08:00
2017-11-02 11:10:55 +01:00
2023-09-23 10:46:52 +02:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2024-04-01 00:03:47 +03:00
2017-11-02 11:10:55 +01:00
2022-10-07 11:18:18 +03:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2021-08-11 09:00:08 +00:00
2020-07-24 14:27:27 +00:00
2019-10-29 09:16:59 +01:00
2017-03-11 11:13:38 +09:00
2020-04-02 16:34:15 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-06-15 08:22:55 +00:00
2019-07-31 07:28:53 +02:00
2022-01-17 11:17:05 +00:00
2021-03-11 11:33:34 +05:30
2021-06-03 08:36:11 +02:00
2023-12-20 15:32:34 +01:00
2017-10-03 17:54:23 -07:00
2021-06-03 08:36:11 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-08-25 09:53:00 +03:00
2022-09-26 20:02:19 +03:00
2026-01-15 06:30:24 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00