lkml.org 
[lkml]   [2021]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 12/20] linux/must_be.h: Add must_be() to improve readability of BUILD_BUG_ON_ZERO()
    On Sat, Nov 20, 2021 at 02:00:55PM +0100, Alejandro Colomar wrote:
    > Historically, BUILD_BUG_ON_ZERO() has been hard to read.
    > __must_be_array() is based on BUILD_BUG_ON_ZERO(),
    > and unlike BUILD_BUG_ON_*(),
    > it has a pretty readable name.

    The best name is assert() which userspace uses and is standartised.

    \
     
     \ /
      Last update: 2021-11-20 16:06    [W:2.927 / U:0.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site