HomeFreeBSD

targ: Handle errors from suword()

Description

targ: Handle errors from suword()

In targstart() we are already handling an error and have no go way to
signal the failure to upper layers, so ignore the return value of
suword() there.

This is in preparation for annotating copyin() and related functions
with __result_use_check.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43202

Details

Provenance
markjAuthored on Jan 4 2024, 1:34 PM
Differential Revision
D43202: targ: Handle errors from suword()
Parents
rGa0993376ec5f: stats: Check for errors from copyout()
Branches
Unknown
Tags
Unknown