On Wed, Nov 6, 2013 at 5:42 PM, Cody P Schafer <[email protected]> wrote: > Avoid making the rb_node the first entry to catch some bugs around NULL > checking the rb_node. > > Signed-off-by: Cody P Schafer <[email protected]> > --- > lib/rbtree_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c > index 31dd4cc..df6c125 100644 > --- a/lib/rbtree_test.c > +++ b/lib/rbtree_test.c > @@ -8,8 +8,8 @@ > #define CHECK_LOOPS 100 > > struct test_node { > - struct rb_node rb; > u32 key; > + struct rb_node rb; > > /* following fields used for testing augmented rbtree functionality */ > u32 val;
Acked-by: Michel Lespinasse <[email protected]> -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

