[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0acd182c-3b04-4337-b682-57ca791425d5@kernel.org>
Date: Wed, 7 Jan 2026 13:28:07 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Alexey Dobriyan <adobriyan@...il.com>, corbet@....net
Cc: workflows@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/9] CodingStyle: recommend static_assert/_Static_assert
On 09/05/2025 22:34, Alexey Dobriyan wrote:
> Linux's BUG_ON is done backwards (condition is inverted).
> But it is a long story.
>
> However C11/C23 allow to partially transition to what all normal
> programmers are used to, namely assert().
>
> Deprecate BUILD_BUG_ON, recommend static_assert/_Static_assert.
> And then some day BUG_ON will be flipped as well.
NAK, so silence won't be treated as agreement.
Best regards,
Krzysztof
Powered by blists - more mailing lists