[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16889e77-31cf-58f6-c27e-5b8a6b3e604d@linaro.org>
Date: Fri, 28 Feb 2020 12:06:09 -0600
From: Alex Elder <elder@...aro.org>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Al Viro <viro@...iv.linux.org.uk>,
Johannes Berg <johannes@...solutions.net>,
Arnd Bergmann <arnd@...db.de>,
Masahiro Yamada <masahiroy@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] bitfield.h: add FIELD_MAX() and field_max()
On 2/28/20 12:04 PM, Alex Elder wrote:
>
>
> I find field_max() to be a good name for what I'm looking for.
Sorry I wanted to add this but clicked "send" too fast.
Yes it's the same as field_mask(), but that name only *implies*
it is the same as the maximum value. I mean, they're the same,
but the name I'm suggesting conveys its purpose better.
-Alex
Powered by blists - more mailing lists