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: Thu, 19 Jul 2007 23:55:18 +0800 From: "rae l" <crquan@...il.com> To: "Paul Clements" <paul.clements@...eleye.com> Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, "Pavel Machek" <pavel@....cz>, "Steven Whitehouse" <steve@...gwyn.com>, "Andrew Morton" <akpm@...ux-foundation.org> Subject: Re: [PATCH 1/2] nbd: use list_for_each_entry_safe to make it more consolidated and readable On 7/19/07, Paul Clements <paul.clements@...eleye.com> wrote: > Could you name "n" as "tmp" (as in the previous code) so that it's clear > that's only a temporary variable. Other than that, this looks good. Sure. I just use the name "n" as in the declaration of list_for_each_entry_safe in the header file <linux/list.h> I'll resend it a little later. > > Thanks, > Paul > -- Denis Cheng Linux Application Developer "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists