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

2007-09-16 Thread David Miller
From: Denis Cheng [EMAIL PROTECTED] Date: Sun, 2 Sep 2007 03:45:57 +0800 Signed-off-by: Denis Cheng [EMAIL PROTECTED] Applied to net-2.6.24, thanks. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

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

2007-09-01 Thread rae l
On 9/2/07, David Newall [EMAIL PROTECTED] wrote: Denis Cheng wrote + order = get_bitmask_order(min(max, (unsigned long)UINT_MAX)) - 1; Why doesn't this clash with the max define, also in linux/kernel.h? They indeed don't clash, the cpp included by gcc is intelligent enough, it know the