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, Nov 18, 4:33 AM
Unknown Object (File)
Fri, Nov 15, 2:05 PM
Unknown Object (File)
Tue, Oct 29, 8:23 PM
Unknown Object (File)
Oct 22 2024, 3:51 AM
Unknown Object (File)
Oct 22 2024, 3:51 AM
Unknown Object (File)
Oct 22 2024, 3:51 AM
Unknown Object (File)
Oct 22 2024, 3:35 AM
Unknown Object (File)
Sep 22 2024, 10:51 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.