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)
Mar 8 2025, 12:59 AM
Unknown Object (File)
Feb 3 2025, 9:44 PM
Unknown Object (File)
Jan 30 2025, 7:25 PM
Unknown Object (File)
Jan 29 2025, 8:43 PM
Unknown Object (File)
Jan 27 2025, 4:00 AM
Unknown Object (File)
Jan 27 2025, 3:34 AM
Unknown Object (File)
Jan 9 2025, 10:16 AM
Unknown Object (File)
Jan 9 2025, 10:16 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.