Re: [PATCH 1/3] netlink: use the macro min(x,y) provided by <linux/kernel.h> instead

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Newall <david@...>
Cc: David S. Miller <davem@...>, <netdev@...>, <linux-kernel@...>, <cr_quan@...>
Date: Saturday, September 1, 2007 - 8:56 pm

On 9/2/07, David Newall <david@davidnewall.com> wrote:
They indeed don't clash,
the cpp included by gcc is intelligent enough, it know the
function-style definition of max in kernel.h, that's different from
the auto variable max here, so they don't clash with each other,

But I think the variable name "max" here is ambiguous, I changed it to
"limit", see my following patch [PATCH 2/3].

-- 
Denis Cheng
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3] netlink: use the macro min(x,y) provided by ..., rae l, (Sat Sep 1, 8:56 pm)