[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87v7smwpa6.fsf@intel.com>
Date: Thu, 06 Mar 2025 10:12:49 +0200
From: Jani Nikula <jani.nikula@...ux.intel.com>
To: David Laight <david.laight.linux@...il.com>, Andy Shevchenko
<andriy.shevchenko@...ux.intel.com>
Cc: Vincent Mailhol <mailhol.vincent@...adoo.fr>, Yury Norov
<yury.norov@...il.com>, Lucas De Marchi <lucas.demarchi@...el.com>, Rasmus
Villemoes <linux@...musvillemoes.dk>, Joonas Lahtinen
<joonas.lahtinen@...ux.intel.com>, Rodrigo Vivi <rodrigo.vivi@...el.com>,
Tvrtko Ursulin <tursulin@...ulin.net>, David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>, Andrew Morton
<akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org,
intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org, Andi
Shyti <andi.shyti@...ux.intel.com>, David Laight
<David.Laight@...lab.com>, Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Subject: Re: [PATCH v4 4/8] bits: introduce fixed-type BIT
On Wed, 05 Mar 2025, David Laight <david.laight.linux@...il.com> wrote:
> So it is even questionable whether BIT8() and BIT16() should even
> exist at all.
If nothing else, they do provide compile time checks for the bit being
0..7 and 0..15, respectively.
BR,
Jani.
--
Jani Nikula, Intel
Powered by blists - more mailing lists