lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 12 Jul 2009 15:20:01 +0200 From: Peter Zijlstra <peterz@...radead.org> To: Frederic Weisbecker <fweisbec@...il.com> Cc: Cyrill Gorcunov <gorcunov@...il.com>, Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org> Subject: Re: [rfc -tip] lib,rb-tree - introduce rb_for_each helper On Sun, 2009-07-12 at 00:29 +0200, Frederic Weisbecker wrote: > #define rb_for_each_entry(tpos, pos, root, memb) \ > for (pos = rb_first(root); pos && tpos = rb_entry(pos, typeof(*tpos), memb); \ > pos = rb_next(pos->memb, typeof(*pos), memb)) if you really want to do this, then at least call it: for_each_rb_entry(). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists