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)
Thu, Jan 9, 10:16 AM
Unknown Object (File)
Thu, Jan 9, 10:16 AM
Unknown Object (File)
Thu, Jan 9, 10:16 AM
Unknown Object (File)
Thu, Jan 9, 5:51 AM
Unknown Object (File)
Dec 20 2024, 7:56 AM
Unknown Object (File)
Dec 3 2024, 10:11 PM
Unknown Object (File)
Dec 3 2024, 10:11 PM
Unknown Object (File)
Dec 3 2024, 10:11 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.