Page MenuHomeFreeBSD

linuxkpi: Add `strim()`
ClosedPublic

Authored by dumbbell on Mar 15 2025, 11:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 27, 3:25 AM
Unknown Object (File)
Sat, Sep 20, 5:58 AM
Unknown Object (File)
Thu, Sep 18, 8:47 AM
Unknown Object (File)
Thu, Sep 18, 6:02 AM
Unknown Object (File)
Sep 12 2025, 9:41 AM
Unknown Object (File)
Sep 5 2025, 3:37 AM
Unknown Object (File)
Aug 29 2025, 10:08 PM
Unknown Object (File)
Jul 29 2025, 1:27 AM
Subscribers

Details

Reviewers
emaste
Group Reviewers
linuxkpi
Commits
rG039eac2463d7: linuxkpi: Add `strim()`
Summary

This function trims whitespace at the end of a string and returns a pointer to the first non-whitespace character.

This is part of the update of DRM drivers to Linux 6.8.

Sponsored by: The FreeBSD Foundation

Diff Detail

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

Event Timeline

Worth putting the comment from the commit message in the src?

This revision is now accepted and ready to land.Mar 15 2025, 12:29 PM

I’m adding the comment in the final commit. Thank you!

This revision was automatically updated to reflect the committed changes.