HomeFreeBSD

sfxge(4): fix error code usage

Description

sfxge(4): fix error code usage

MCDI results returned in req.emr_rc have already been translated
from MC_CMD_ERR_* to errno names, so using an MC_CMD_ERR_* value
is incorrect.

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18069

Details

Provenance
arybchikAuthored on
Differential Revision
D18069: sfxge(4): fix error code usage
Parents
rS340798: sfxge(4): fix out of bounds read in VIs allocation
Branches
Unknown
Tags
Unknown