[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aUExL6cvFqpgx52G@fedora>
Date: Tue, 16 Dec 2025 18:15:11 +0800
From: Ming Lei <ming.lei@...hat.com>
To: Clint George <clintbgeorge@...il.com>
Cc: skhan@...uxfoundation.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org, david.hunter.linux@...il.com,
linux-kernel-mentees@...ts.linux.dev, khalid@...nel.org
Subject: Re: [PATCH] kselftest/kublk: include message in _Static_assert for
C11 compatibility
On Mon, Dec 15, 2025 at 02:20:22PM +0530, Clint George wrote:
> Add descriptive message in the _Static_assert to comply with the C11
> standard requirement to prevent compiler from throwing out error. The
> compiler throws an error when _Static_assert is used without a message as
> that is a C23 extension.
>
> Signed-off-by: Clint George <clintbgeorge@...il.com>
> ---
>
> [] Testing:
> The diff between before and after of running the kselftest test of the
> module shows no regression on system with x86 architecture
Reviewed-by: Ming Lei <ming.lei@...hat.com>
Thanks,
Ming
Powered by blists - more mailing lists