Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/linux linux: Don't skip the la...
details: https://anonhg.NetBSD.org/src/rev/145adaf4d4e0
branches: trunk
changeset: 361571:145adaf4d4e0
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Feb 14 19:13:04 2022 +0000
description:
linux: Don't skip the last node in rbtree iteration.
diffstat:
sys/external/bsd/drm2/include/linux/rbtree.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 69d534f03585 -r 145adaf4d4e0 sys/external/bsd/drm2/include/linux/rbtree.h
--- a/sys/external/bsd/drm2/include/linux/rbtree.h Mon Feb 14 13:22:30 2022 +0000
+++ b/sys/external/bsd/drm2/include/linux/rbtree.h Mon Feb 14 19:13:04 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rbtree.h,v 1.15 2021/12/19 12:00:08 riastradh Exp $ */
+/* $NetBSD: rbtree.h,v 1.16 2022/02/14 19:13:04 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -152,7 +152,7 @@
for ((NODE) = RB_TREE_MIN(&(ROOT)->rbr_tree); \
((NODE) != NULL && \
((TMP) = rb_tree_iterate(&(ROOT)->rbr_tree, (NODE), \
- RB_DIR_RIGHT))); \
+ RB_DIR_RIGHT), 1)); \
(NODE) = (TMP))
#endif /* _LINUX_RBTREE_H_ */
Home |
Main Index |
Thread Index |
Old Index