Messages in this thread | | | From | (Måns Rullgård) | Subject | Re: [Infiniband-general] Getting an Infiniband access layer in theLinux kernel | Date | Fri, 06 Feb 2004 19:54:55 +0100 |
| |
Valdis.Kletnieks@vt.edu writes:
> On Fri, 06 Feb 2004 13:00:38 EST, "Richard B. Johnson" said: > >> Yes you can. You just don't use an ';' if you are going >> to use 'else'. > > You did realize we've changed things from macros to inline functions > (and vice versa) on occasion? > > Yes, you *can* hack around the "problem". Is there any actual > evidence that any real performance issues arise from the null > do/while? Does said issue outweigh the increased fragility of > the code?
I suspect that the compiler authors are well aware of this common idiom and take care to do whatever is appropriate.
-- Måns Rullgård mru@kth.se
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |