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
F168047553: D18124.id51062.diff
Wed, Aug 26, 3:16 AM
F167958326: D18124.id.diff
Tue, Aug 25, 3:22 PM
F167956541: D18124.diff
Tue, Aug 25, 3:11 PM
Unknown Object (File)
Mon, Aug 24, 10:40 PM
Unknown Object (File)
Mon, Aug 24, 1:46 AM
Unknown Object (File)
Mon, Aug 24, 1:21 AM
Unknown Object (File)
Sat, Aug 22, 8:15 PM
Unknown Object (File)
Sat, Aug 22, 7:12 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.