HomeFreeBSD

gvinum: correct assertions

Description

gvinum: correct assertions

Pointer addresses are always >= 0. Assert that the value is >= 0
instead.

PR: 207855, 207856
Reviewed by: imp
Reported by: David Binderman
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37677

Details

Provenance
emasteAuthored on Dec 12 2022, 5:08 PM
Reviewer
imp
Differential Revision
D37677: gvinum: correct assertions
Parents
rG379e14ba6c61: powerpc/pmap: Account for a potential NULL pmap in pmap_sync_icache
Branches
Unknown
Tags
Unknown