HomeFreeBSD

powerpc: Avoid ignoring copyin()'s return value

Description

powerpc: Avoid ignoring copyin()'s return value

A recent change made it possible for cpu_set_upcall() to return an
error. Do that here instead of ignoring an error from copyin().

Reviewed by: jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43105

Details

Provenance
markjAuthored on Dec 26 2023, 1:40 AM
Reviewer
jhibbits
Differential Revision
D43105: powerpc: Avoid ignoring copyin()'s return value
Parents
rG3fde275167ce: linux: Check for copyout errors in linux_fixup()
Branches
Unknown
Tags
Unknown