Re: [PATCH] kselftest/kublk: include message in _Static_assert for C11 compatibility
From: Ming Lei
Date: Tue Dec 16 2025 - 05:16:36 EST
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@xxxxxxxxx>
> ---
>
> [] 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@xxxxxxxxxx>
Thanks,
Ming