RE: [PATCH next v2 02/11] minmax: Use _Static_assert() instead of static_assert()

2024-02-26 Thread Jani Nikula
On Mon, 26 Feb 2024, David Laight wrote: > From: Jani Nikula >> Sent: 26 February 2024 09:28 >> >> On Sun, 25 Feb 2024, David Laight wrote: >> > The wrapper just adds two more lines of error output when the test fails. >> >> There are only a handful of places in kernel code that use >> _Static_

RE: [PATCH next v2 02/11] minmax: Use _Static_assert() instead of static_assert()

2024-02-26 Thread David Laight
From: Jani Nikula > Sent: 26 February 2024 09:28 > > On Sun, 25 Feb 2024, David Laight wrote: > > The wrapper just adds two more lines of error output when the test fails. > > There are only a handful of places in kernel code that use > _Static_assert() directly. Nearly 900 instances of static_a

Re: [PATCH next v2 02/11] minmax: Use _Static_assert() instead of static_assert()

2024-02-26 Thread Jani Nikula
On Sun, 25 Feb 2024, David Laight wrote: > The wrapper just adds two more lines of error output when the test fails. There are only a handful of places in kernel code that use _Static_assert() directly. Nearly 900 instances of static_assert(). Are we now saying it's fine to use _Static_assert()

[PATCH next v2 02/11] minmax: Use _Static_assert() instead of static_assert()

2024-02-25 Thread David Laight
The wrapper just adds two more lines of error output when the test fails. Signed-off-by: David Laight --- include/linux/minmax.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) Changes for v2: - Typographical and spelling corrections to the commit messages. Patches unchanged. d