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)
Fri, Oct 10, 6:52 AM
Unknown Object (File)
Mon, Sep 29, 7:15 PM
Unknown Object (File)
Sep 14 2025, 8:50 AM
Unknown Object (File)
Sep 13 2025, 12:00 AM
Unknown Object (File)
Aug 5 2025, 10:34 AM
Unknown Object (File)
Jul 23 2025, 10:09 PM
Unknown Object (File)
Jul 22 2025, 4:27 AM
Unknown Object (File)
Jul 20 2025, 7:23 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
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.