HomeFreeBSD

KASSERT(9): some updates

Description

KASSERT(9): some updates

  • Add a little bit of introductory text
  • Improve the existing example: ANSI C, use a better assertion than a NULL check (which is discouraged)
  • Document the widely used MPASS macro in this page
  • Drop the cross-reference to config(8)

Reviewed by: kib, markj, rpokala, Pau Amma <pauamma@gundo.com>
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39131

Details

Provenance
mhorneAuthored on Mar 20 2023, 7:54 PM
Reviewer
kib
Differential Revision
D39131: KASSERT(9): some updates
Parents
rG43db15b16aa6: critical(9): small updates
Branches
Unknown
Tags
Unknown