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 Return the node we found...



details:   https://anonhg.NetBSD.org/src/rev/3e81b80f695a
branches:  trunk
changeset: 366459:3e81b80f695a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Aug 28 03:34:53 2018 +0000

description:
Return the node we found.  From tnn@.

diffstat:

 sys/external/bsd/drm2/include/linux/interval_tree.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 29f3ec91750f -r 3e81b80f695a sys/external/bsd/drm2/include/linux/interval_tree.h
--- a/sys/external/bsd/drm2/include/linux/interval_tree.h       Tue Aug 28 03:34:39 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/interval_tree.h       Tue Aug 28 03:34:53 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interval_tree.h,v 1.6 2018/08/27 07:51:59 riastradh Exp $      */
+/*     $NetBSD: interval_tree.h,v 1.7 2018/08/28 03:34:53 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -144,6 +144,8 @@
        KASSERT(node->start <= start);
        if (last < node->start)
                return NULL;
+
+       return next;
 }
 
 /*



Home | Main Index | Thread Index | Old Index