Page MenuHomeFreeBSD

sfxge(4): fix error code usage
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:16 AM.
Tags
None
Referenced Files
F133116583: D18069.diff
Thu, Oct 23, 2:54 AM
Unknown Object (File)
Tue, Oct 14, 11:55 PM
Unknown Object (File)
Wed, Oct 8, 4:36 AM
Unknown Object (File)
Sat, Sep 27, 12:20 PM
Unknown Object (File)
Sat, Sep 27, 12:07 PM
Unknown Object (File)
Sep 22 2025, 7:06 PM
Unknown Object (File)
Sep 21 2025, 7:31 PM
Unknown Object (File)
Sep 12 2025, 4:47 PM
Subscribers

Details

Summary

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

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20925
Build 20290: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 23 2018, 7:51 AM
This revision was automatically updated to reflect the committed changes.