Page MenuHomeFreeBSD

kassert.h: update MPASS definition commentary
ClosedPublic

Authored by mhorne on Mar 20 2024, 2:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 3, 10:07 AM
Unknown Object (File)
Thu, Jan 23, 1:59 AM
Unknown Object (File)
Jan 8 2025, 4:46 AM
Unknown Object (File)
Jan 6 2025, 10:46 PM
Unknown Object (File)
Dec 29 2024, 11:42 AM
Unknown Object (File)
Dec 29 2024, 11:36 AM
Unknown Object (File)
Dec 5 2024, 5:34 PM
Unknown Object (File)
Nov 16 2024, 4:24 PM
Subscribers

Details

Summary

We now have a detailed man page describing both MPASS and KASSERT. Give
a warning that careless use of MPASS can result in inadequate assertion
messages, and point to the MPASS(9) page which describes this.

While here add a comment above the KASSERT definitions pointing to the
man page.

Suggested by: bz

Diff Detail

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

Event Timeline

emaste added inline comments.
sys/sys/kassert.h
162

I'm not a fan of XXX for use other than "this is wrong/broken/needs to be revisited". Maybe NOTE?

This revision is now accepted and ready to land.Mar 20 2024, 3:39 PM
sys/sys/kassert.h
162

Xxx is ok in our code, but i agree with NOTE: to make it more accessible.

This revision was automatically updated to reflect the committed changes.