HomeFreeBSD

bnxt: Handle errors from copyout() in ioctl handlers

Description

bnxt: Handle errors from copyout() in ioctl handlers

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

MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D43178

(cherry picked from commit 243e3ab3d34ada9da4f202f8cab90da2d6c49e5e)

Details

Provenance
markjAuthored on Jan 4 2024, 1:34 PM
Differential Revision
D43178: bnxt: Handle errors from copyout() in ioctl handlers
Parents
rGf0f93607eea3: conf: Do not set -fno-sanitize-memory-param-retval for old compilers
Branches
Unknown
Tags
Unknown