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
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
Unknown Object (File)
Mar 6 2026, 12:45 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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.