Page MenuHomeFreeBSD

kassert: Turn 'poisoned_buf' into a 'void *'
Needs ReviewPublic

Authored by olce on Wed, Apr 23, 10:04 AM.

Details

Reviewers
markj
emaste
Summary

This is a step to make <sys/kassert.h> usable without the need to
explicitly include other headers.

'poisoned_buf' is only used for its value and never subject to pointer
arithmetics. Keeping 'caddr_t' would require <sys/kassert.h> to include
<sys/types.h> (at least on INVARIANTS).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63658
Build 60542: arc lint + arc unit