Re: [PATCH] include: kernel.h: deduplicate code implementing clamp* macros
From: Michal Nazarewicz
Date: Fri Sep 26 2014 - 16:04:40 EST
On Thu, Sep 25 2014, Hagen Paul Pfeifer <hagen@xxxxxxxx> wrote:
> On 25 September 2014 17:50, Michal Nazarewicz <mina86@xxxxxxxxxx> wrote:
>
>> - * @min: minimum allowable value
>> - * @max: maximum allowable value
>> + * @lo: minimum allowable value
>> + * @hi: maximum allowable value
>
> Ok, but why do you rename min/max to low/high after so many years?
> min/max is just perfect
To match argument names of the clamp macro (which got renamed when
rewriting min3, max3 and clamp), but I don't really care either way.
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, MichaÅ âmina86â Nazarewicz (o o)
ooo +--<mpn@xxxxxxxxxx>--<xmpp:mina86@xxxxxxxxxx>--ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/