Page MenuHomeFreeBSD

intrng: move check for existing event to isrc_event_create()
Needs ReviewPublic

Authored by ehem_freebsd_m5p.com on Jan 28 2023, 12:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 17, 6:11 AM
Unknown Object (File)
Tue, May 14, 1:35 PM
Unknown Object (File)
Tue, May 14, 10:25 AM
Unknown Object (File)
Dec 23 2023, 2:34 AM
Unknown Object (File)
Dec 18 2023, 7:10 AM
Unknown Object (File)
Dec 10 2023, 8:32 PM
Unknown Object (File)
Sep 6 2023, 7:05 AM
Unknown Object (File)
Aug 27 2023, 11:00 PM
Subscribers

Details

Reviewers
markj
Summary

With a single caller it doesn't matter whether the check is in
isrc_event_create() or isrc_add_handler(). If another caller was added,
both callers would need the check. As such move the check to where it
can be shared.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 49275
Build 46165: arc lint + arc unit