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
Unknown Object (File)
Dec 13 2025, 4:08 AM
Unknown Object (File)
Dec 12 2025, 11:31 AM
Unknown Object (File)
Dec 12 2025, 4:39 AM
Unknown Object (File)
Dec 8 2025, 11:57 AM
Unknown Object (File)
Dec 7 2025, 12:10 AM
Unknown Object (File)
Dec 2 2025, 10:50 AM
Unknown Object (File)
Nov 24 2025, 10:37 PM
Unknown Object (File)
Nov 23 2025, 11:41 PM

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.