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)
Mon, May 4, 4:25 PM
Unknown Object (File)
Thu, Apr 30, 9:31 AM
Unknown Object (File)
Sun, Apr 26, 7:34 PM
Unknown Object (File)
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
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.