On 2020-06-12 19:51, Hans Petter Selasky wrote:
On 2020-06-12 19:48, Doug Moore wrote:
Author: dougm
Date: Fri Jun 12 17:48:12 2020
New Revision: 362110
URL: https://svnweb.freebsd.org/changeset/base/362110

Log:
   Revert r362108, as it breaks compilation.

Modified:
   head/sys/compat/linuxkpi/common/include/linux/rbtree.h

Modified: head/sys/compat/linuxkpi/common/include/linux/rbtree.h
============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/rbtree.h    Fri Jun 12 17:31:38 2020    (r362109) +++ head/sys/compat/linuxkpi/common/include/linux/rbtree.h    Fri Jun 12 17:48:12 2020    (r362110)
@@ -37,8 +37,8 @@
  struct rb_node {
      RB_ENTRY(rb_node)    __entry;
  };
-#define    rb_left        RB_PTR(__entry.rbe_left)
-#define    rb_right    RB_PTR(__entry.rbe_right)
+#define    rb_left        __entry.rbe_left
+#define    rb_right    __entry.rbe_right
  /*
   * We provide a false structure that has the same bit pattern as tree.h


Are you planning to fix those compilation errors?


Or is the current code fine?

--HPS

_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to