In r362552, RB_SET_PARENT is defined, and use in parens in
RB_CLEAR_NODE. But it is not an expression, and ought not to be enclosed in parens. Remove them. Approved by: markj Differential Revision: https://reviews.freebsd.org/D25421
This commit is contained in:
parent
9e5277ef92
commit
0392561a16
@ -60,7 +60,7 @@ RB_PROTOTYPE(linux_root, rb_node, __entry, panic_cmp);
|
||||
|
||||
#define RB_EMPTY_ROOT(root) RB_EMPTY((struct linux_root *)root)
|
||||
#define RB_EMPTY_NODE(node) (RB_PARENT(node, __entry) == node)
|
||||
#define RB_CLEAR_NODE(node) (RB_SET_PARENT(node, node, __entry))
|
||||
#define RB_CLEAR_NODE(node) RB_SET_PARENT(node, node, __entry)
|
||||
|
||||
#define rb_insert_color(node, root) \
|
||||
linux_root_RB_INSERT_COLOR((struct linux_root *)(root), (node))
|
||||
|
Loading…
x
Reference in New Issue
Block a user