[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <91b13c310709200956n155ff614p7234d28829a9b8ce@mail.gmail.com>
Date: Fri, 21 Sep 2007 00:56:35 +0800
From: "rae l" <crquan@...il.com>
To: "David Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
cr_quan@....com
Subject: Re: [PATCH 2/3] netlink: the temp variable name max is ambiguous
On 9/17/07, David Miller <davem@...emloft.net> wrote:
> From: Denis Cheng <crquan@...il.com>
> Date: Sun, 2 Sep 2007 03:45:58 +0800
>
> > with the macro max provided by <linux/kernel.h>, so changed its name to a more proper one: limit
> >
> > Signed-off-by: Denis Cheng <crquan@...il.com>
>
> Not strictly necessary because CPP knows to differentiate between
> 'max(' and plain 'max' when evaluating if a CPP macro should be
> expanded or not.
I also know the GNU CPP is intelligent, but people are often not.
I just think the avoidance to use human ambiguous names could give
more readability.
>
> Nonetheless, applied to net-2.6.24, thanks.
>
--
Denis Cheng
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists