Page MenuHomeFreeBSD

linuxkpi: Add `strim()`
ClosedPublic

Authored by dumbbell on Sat, Mar 15, 11:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 20, 8:28 PM
Unknown Object (File)
Tue, Mar 18, 12:03 AM
Unknown Object (File)
Mon, Mar 17, 11:17 PM
Unknown Object (File)
Mon, Mar 17, 2:43 AM
Unknown Object (File)
Sun, Mar 16, 1:47 PM
Unknown Object (File)
Sun, Mar 16, 12:57 PM
Unknown Object (File)
Sun, Mar 16, 9:06 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.Sat, Mar 15, 12:29 PM

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

This revision was automatically updated to reflect the committed changes.