Page MenuHomeFreeBSD

rb_tree: fix linux links for 13 compat
ClosedPublic

Authored by dougm on Dec 19 2022, 11:02 AM.
Tags
None
Referenced Files
F149811925: D37743.id114274.diff
Fri, Mar 27, 7:02 AM
Unknown Object (File)
Thu, Mar 26, 5:55 AM
Unknown Object (File)
Sun, Mar 22, 4:02 PM
Unknown Object (File)
Sat, Mar 21, 11:50 PM
Unknown Object (File)
Tue, Mar 17, 3:17 AM
Unknown Object (File)
Thu, Mar 12, 11:21 PM
Unknown Object (File)
Sun, Mar 1, 9:14 AM
Unknown Object (File)
Feb 23 2026, 10:55 AM

Details

Summary

Rearranging the left, right, and parent pointers for backward compatibility with stable/13 is incomplete because it does not change linux/rbtree.h so that it too knows how rb_left and rb_right are redefined. So complete it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thanks, this fixes drm-kmod built on stable/13 and obviously doesn't break abi compat.

I sent this message earlier to Doug, but putting it here now that my review account is activated:

Hey Doug,

Just tested this on latest stable/13 (n253292-ebf66b2a3b39) and it now works :). Thanks for looking into this.

Jonathan Vasquez
PGP: 34DA 858C 1447 509E C77A D49F FB85 90B7 C4CA 5279
Sent with ProtonMail Secure Email
This revision was not accepted when it landed; it landed in state Needs Review.Dec 19 2022, 10:08 PM
This revision was automatically updated to reflect the committed changes.