From: Artem Bityutskiy on 8 Aug 2010 06:40 On Sat, 2010-08-07 at 11:09 +0200, Julia Lawall wrote: > From: Julia Lawall <julia(a)diku.dk> > > list_for_each_entry uses its first argument to move from one element to the > next, so modifying it can break the iteration. The variable re1 is already > used within the loop as a temporary variable, and is not live here. Looks good, thanks, I'll push it to the UBI tree a bit later. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: improve list_sort test Next: [GIT PULL] (cleaned up) block/IO bits for 2.6.36-rc1 |