[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 16/16 RESEND] rbtree: fix typo in comment of rb_insert_color



>>> On 21.11.17 at 16:20, <kpraveen.lkml@xxxxxxxxx> wrote:
> From: Wei Yang <weiyang@xxxxxxxxxxxxxxxxxx>
> 
> In case 1, it passes down the BLACK color from G to p and u, and maintains
> the color of n.  By doing so, it maintains the black height of the sub-tree.
> 
> While in the comment, it marks the color of n to BLACK.  This is a typo
> and not consistents with the code.
> 
> This patch fixs this typo in comment.
> 
> Signed-off-by: Wei Yang <weiyang@xxxxxxxxxxxxxxxxxx>
> Acked-by: Michel Lespinasse <walken@xxxxxxxxxx>
> Cc: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> [Linux commit 1b9c53e849aa65776d4f611d99aa09f856518dad]
> 
> Ported to Xen for rb_insert_color API.
> 
> Signed-off-by: Praveen Kumar <kpraveen.lkml@xxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.