On Mon, 1 Oct 2007, Andrew Morton wrote:among other things, one of the creepy issues here is the definition in include/linux/netfilter/xt_sctp.h of the macro: ... #define SCTP_CHUNKMAP_COPY(destmap, srcmap) \ do { \ int i; \ for (i = 0; i < ELEMCOUNT(chunkmap); i++) \ destmap[i] = srcmap[i]; \ } while (0) ... i'm not a big fan of macros that refer to objects that aren't parameters to the macro, especially when all the rest of them *do*. rday p.s. ELEMCOUNT is simply an alternative to ARRAY_SIZE, which could certainly be rewritten that way. -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ======================================================================== -
| Rafael J. Wysocki | [Bug #10493] mips BCM47XX compile error |
| Ingo Molnar | [patch 02/13] syslets: add syslet.h include file, user API/ABI definitions |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrea Arcangeli | [PATCH 00 of 11] mmu notifier #v16 |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| Mark Lord | Re: [BUG] New Kernel Bugs |
