]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340799
authorAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 21 Dec 2018 15:02:36 +0000 (15:02 +0000)
committerAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 21 Dec 2018 15:02:36 +0000 (15:02 +0000)
commitf440a4b9f4899978010e5bb948076aab2335fc71
treeea5ee370d7ca6f77674716c829ca7a4b176181ec
parent1b10659c7528098949ec20ba55cb4a43e2774215
MFC r340799

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.
Differential Revision:  https://reviews.freebsd.org/D18069
sys/dev/sfxge/common/ef10_rx.c
sys/dev/sfxge/common/ef10_tx.c