mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
A failed copyin will cause the driver to use the contents of
uninitialized buffers instead, which is unlikely to be the behaviour
that we want. Check for errors.
This is in preparation for annotating copyin() and related functions
with __result_use_check.
Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43098
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| mpi | ||
| mpi3mr.c | ||
| mpi3mr.h | ||
| mpi3mr_app.c | ||
| mpi3mr_app.h | ||
| mpi3mr_cam.c | ||
| mpi3mr_cam.h | ||
| mpi3mr_pci.c | ||