Page MenuHomeFreeBSD

sfxge(4): fix warnings from VS2015 C compiler (C4057)
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:26 AM.
Tags
None
Referenced Files
F158975299: D18124.id50721.diff
Mon, Jun 8, 12:19 PM
Unknown Object (File)
Wed, Jun 3, 12:12 PM
Unknown Object (File)
Fri, May 29, 5:26 AM
Unknown Object (File)
Apr 30 2026, 7:31 AM
Unknown Object (File)
Apr 30 2026, 7:26 AM
Unknown Object (File)
Apr 28 2026, 12:37 AM
Unknown Object (File)
Apr 27 2026, 11:22 AM
Unknown Object (File)
Apr 23 2026, 3:55 AM
Subscribers

Details

Summary

Fix two level 4 warnings
"C4057: 'function': 'const uint8_t *' differs in indirection to
slightly different base types from 'caddr_t'"; no functional changes.

Submitted by: Andrew Lee <alee 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 20980
Build 20345: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 24 2018, 4:32 PM
This revision was automatically updated to reflect the committed changes.