Page MenuHomeFreeBSD

targ: Handle errors from suword()
ClosedPublic

Authored by markj on Dec 26 2023, 11:57 PM.
Tags
None
Referenced Files
F87776863: D43202.diff
Sun, Jul 7, 3:30 PM
F87707302: D43202.id132268.diff
Sun, Jul 7, 2:00 AM
Unknown Object (File)
Tue, Jul 2, 8:26 AM
Unknown Object (File)
Tue, Jul 2, 7:39 AM
Unknown Object (File)
Tue, Jul 2, 7:25 AM
Unknown Object (File)
Fri, Jun 28, 9:20 AM
Unknown Object (File)
Wed, Jun 26, 12:43 AM
Unknown Object (File)
Fri, Jun 21, 4:43 PM
Subscribers

Details

Summary

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.

Diff Detail

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