Page MenuHomeFreeBSD

sfxge: fix pointer parameter/value signedness mismatch warnings
ClosedPublic

Authored by arybchik on Dec 5 2015, 8:29 AM.
Tags
None
Referenced Files
F153800428: D4391.diff
Thu, Apr 23, 8:43 PM
Unknown Object (File)
Tue, Apr 21, 11:33 PM
Unknown Object (File)
Tue, Apr 21, 5:40 PM
Unknown Object (File)
Sun, Apr 19, 9:17 PM
Unknown Object (File)
Sun, Apr 19, 12:44 PM
Unknown Object (File)
Thu, Apr 16, 2:28 PM
Unknown Object (File)
Sat, Apr 11, 7:21 AM
Unknown Object (File)
Mon, Apr 6, 3:27 AM
Subscribers

Details

Summary

TLV routines use 'uint8_t *', NVRAM code uses caddr_t. Just cast to
required type to fix the warning.

Required to build with -Werror=pointer-signg.

Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days

Test Plan

Build tested. Driver loaded/unloaded.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 1420
Build 1425: arc lint + arc unit

Event Timeline

arybchik retitled this revision from to sfxge: fix pointer parameter/value signedness mismatch warnings.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, bz, np.
gnn edited edge metadata.
This revision is now accepted and ready to land.Dec 5 2015, 7:08 PM
This revision was automatically updated to reflect the committed changes.