Page MenuHomeFreeBSD

EVENTHANDLER.9: EVENTHANDLER_REGISTER never fails
ClosedPublic

Authored by obiwac on Jan 31 2026, 4:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 20, 12:35 AM
Unknown Object (File)
Mon, May 18, 3:19 PM
Unknown Object (File)
Mon, May 18, 3:13 PM
Unknown Object (File)
Mon, May 18, 1:08 PM
Unknown Object (File)
Mon, May 18, 1:04 PM
Unknown Object (File)
Sat, May 16, 9:02 PM
Unknown Object (File)
Sun, May 10, 6:57 PM
Unknown Object (File)
Thu, May 7, 12:32 PM
Subscribers

Details

Summary

Since ecdf4409f910 ("Rework the eventhandler locking [...]"),
EVENTHANDLER_REGISTER() can never return NULL.

Sponsored by: The FreeBSD Foundation

Diff Detail

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

Event Timeline

Since ecdf4409f910

Please use a Fixes: trailer for that, it keeps them together for this type of situation is a standardized way. I also have a vague recollection someone built some tooling around it.

zlei added a subscriber: zlei.

LGTM.

Since ecdf4409f910

Please use a Fixes: trailer for that, it keeps them together for this type of situation is a standardized way. I also have a vague recollection someone built some tooling around it.

+1 for that.

This revision is now accepted and ready to land.Feb 2 2026, 11:44 AM

Would appreciate a:
Suggested by: olce
tag line at commit. Thanks!