HomeFreeBSD

Do not ignore zero address, possibly returned by the vm_map_find()
rS244076Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Do not ignore zero address, possibly returned by the vm_map_find()
call. The function indicates a failure by the TRUE return value. To
be extra safe, assert that the return value from the following
vm_map_insert() indicates success.

Fix style issues in the nearby lines, reformulate the comment.

Reviewed by: alc (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS244075: MFC to r242840:
Branches
Unknown
Tags
Unknown

Event Timeline