Skip to contentSkip to conversation

lib/rbtree: add missing space after 'if'

PATCH New Chu Wei Chang 1 participant 1 message Nov 20, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/rbtree: add missing space after 'if'

Fix a minor coding style issue by adding a space after the 'if'.

---
 lib/rbtree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/rbtree.c +1 -1
index 5114eda63..ee06cc09a 100644
@@ -107,7 +107,7 @@ __rb_insert(struct rb_node *node, struct rb_root *root,
 		 * per 4), we don't want a red root or two
 		 * consecutive red nodes.
 		 */
-		if(rb_is_black(parent))
+		if (rb_is_black(parent))
 			break;
 
 		gparent = rb_red_parent(parent);
Signature · 1 line
2.43.0