Re: [PATCH v2 02/11] rbtree/test: move rb_node to the middle of the test struct

2013-11-07 Thread Michel Lespinasse
On Wed, Nov 6, 2013 at 5:42 PM, Cody P Schafer 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 > --- > lib/rbtree_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v2 02/11] rbtree/test: move rb_node to the middle of the test struct

2013-11-07 Thread Michel Lespinasse
On Wed, Nov 6, 2013 at 5:42 PM, Cody P Schafer c...@linux.vnet.ibm.com 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 c...@linux.vnet.ibm.com --- lib/rbtree_test.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 02/11] rbtree/test: move rb_node to the middle of the test struct

2013-11-06 Thread Cody P Schafer
Avoid making the rb_node the first entry to catch some bugs around NULL checking the rb_node. Signed-off-by: Cody P Schafer --- 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 ---

[PATCH v2 02/11] rbtree/test: move rb_node to the middle of the test struct

2013-11-06 Thread Cody P Schafer
Avoid making the rb_node the first entry to catch some bugs around NULL checking the rb_node. Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com --- 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