diff for duplicates of <20100822210342.GA21755@Krystal> diff --git a/a/1.txt b/N1/1.txt index 90b57f1..03144bd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -* Anca Emanuel (anca.emanuel at gmail.com) wrote: +* Anca Emanuel (anca.emanuel@gmail.com) wrote: > I think about some test at the last bit if it is on, the number is not > a power of 2 @@ -11,10 +11,10 @@ Mathieu > > On Sun, Aug 22, 2010 at 10:38 PM, Mathieu Desnoyers > <mathieu.desnoyers@efficios.com> wrote: -> > * Andi Kleen (andi at firstfloor.org) wrote: +> > * Andi Kleen (andi@firstfloor.org) wrote: > >> > +/* Force a compilation error if condition is constant and not a power of 2 */ -> >> > +#define MAYBE_BUILD_BUG_ON_NOT_POWER_OF_2(n) ? ? ? ? ? ? ? \ -> >> > + ? MAYBE_BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0)) +> >> > +#define MAYBE_BUILD_BUG_ON_NOT_POWER_OF_2(n) \ +> >> > + MAYBE_BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0)) > >> > >> Looks super-ugly. IMHO just writing MAYBE_BUILD_BUG_ON(!n || n & (n - 1)) directly > >> would be clear enough. If you really think that's unclear define a generic @@ -43,9 +43,9 @@ Mathieu > > http://www.efficios.com > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in -> > the body of a message to majordomo at vger.kernel.org -> > More majordomo info at ?http://vger.kernel.org/majordomo-info.html -> > Please read the FAQ at ?http://www.tux.org/lkml/ +> > 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/ > > -- diff --git a/a/content_digest b/N1/content_digest index 469a014..e96d47f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,13 +3,38 @@ "ref\020100822192705.GE1771@one.firstfloor.org\0" "ref\020100822193819.GA23299@Krystal\0" "ref\0AANLkTingCD78PYQN1f-0jNQYAU1v6W5RXHe73FnpmqDA@mail.gmail.com\0" - "From\0mathieu.desnoyers@efficios.com (Mathieu Desnoyers)\0" - "Subject\0[PATCH for -tip 1/2] kernel.h: add MAYBE_BUILD_BUG_ON_NOT_POWER_OF_2\0" + "From\0Mathieu Desnoyers <mathieu.desnoyers@efficios.com>\0" + "Subject\0Re: [PATCH for -tip 1/2] kernel.h: add MAYBE_BUILD_BUG_ON_NOT_POWER_OF_2\0" "Date\0Sun, 22 Aug 2010 17:03:43 -0400\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Anca Emanuel <anca.emanuel@gmail.com>\0" + "Cc\0Andi Kleen <andi@firstfloor.org>" + LKML <linux-kernel@vger.kernel.org> + ltt-dev@lists.casi.polymtl.ca + Linus Torvalds <torvalds@linux-foundation.org> + Andrew Morton <akpm@linux-foundation.org> + Ingo Molnar <mingo@elte.hu> + Peter Zijlstra <peterz@infradead.org> + Steven Rostedt <rostedt@goodmis.org> + Frederic Weisbecker <fweisbec@gmail.com> + Thomas Gleixner <tglx@linutronix.de> + Christoph Hellwig <hch@lst.de> + Li Zefan <lizf@cn.fujitsu.com> + Lai Jiangshan <laijs@cn.fujitsu.com> + Johannes Berg <johannes.berg@intel.com> + Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> + Arnaldo Carvalho de Melo <acme@infradead.org> + Tom Zanussi <tzanussi@gmail.com> + KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> + Alexander Shishkin <virtuoso@slind.org> + Russell King - ARM Linux <linux@arm.linux.org.uk> + linux-arm-kernel@lists.infradead.org + Imre Deak <imre.deak@nokia.com> + Jamie Lokier <jamie@shareable.org> + Alexey Dobriyan <adobriyan@gmail.com> + " Kirill A. Shutemov <kirill@shutemov.name>\0" "\00:1\0" "b\0" - "* Anca Emanuel (anca.emanuel at gmail.com) wrote:\n" + "* Anca Emanuel (anca.emanuel@gmail.com) wrote:\n" "> I think about some test at the last bit if it is on, the number is not\n" "> a power of 2\n" "\n" @@ -22,10 +47,10 @@ "> \n" "> On Sun, Aug 22, 2010 at 10:38 PM, Mathieu Desnoyers\n" "> <mathieu.desnoyers@efficios.com> wrote:\n" - "> > * Andi Kleen (andi at firstfloor.org) wrote:\n" + "> > * Andi Kleen (andi@firstfloor.org) wrote:\n" "> >> > +/* Force a compilation error if condition is constant and not a power of 2 */\n" - "> >> > +#define MAYBE_BUILD_BUG_ON_NOT_POWER_OF_2(n) ? ? ? ? ? ? ? \\\n" - "> >> > + ? MAYBE_BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))\n" + "> >> > +#define MAYBE_BUILD_BUG_ON_NOT_POWER_OF_2(n) \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \\\n" + "> >> > + \302\240 MAYBE_BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))\n" "> >>\n" "> >> Looks super-ugly. IMHO just writing MAYBE_BUILD_BUG_ON(!n || n & (n - 1)) directly\n" "> >> would be clear enough. If you really think that's unclear define a generic\n" @@ -54,9 +79,9 @@ "> > http://www.efficios.com\n" "> > --\n" "> > To unsubscribe from this list: send the line \"unsubscribe linux-kernel\" in\n" - "> > the body of a message to majordomo at vger.kernel.org\n" - "> > More majordomo info at ?http://vger.kernel.org/majordomo-info.html\n" - "> > Please read the FAQ at ?http://www.tux.org/lkml/\n" + "> > the body of a message to majordomo@vger.kernel.org\n" + "> > More majordomo info at \302\240http://vger.kernel.org/majordomo-info.html\n" + "> > Please read the FAQ at \302\240http://www.tux.org/lkml/\n" "> >\n" "\n" "-- \n" @@ -65,4 +90,4 @@ "EfficiOS Inc.\n" http://www.efficios.com -85bd0ef2feab207245c92ab6ee0054af96d7e3d19064ac965f0f98481ecc6e98 +5746f213b8a9a20fafe4d89328094c9d69b1264b4893f74f8870220c1e769e8f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.