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
Differential D4391
sfxge: fix pointer parameter/value signedness mismatch warnings arybchik on Dec 5 2015, 8:29 AM. Authored by Tags None Referenced Files
Subscribers
Details TLV routines use 'uint8_t *', NVRAM code uses caddr_t. Just cast to Required to build with -Werror=pointer-signg. Sponsored by: Solarflare Communications, Inc. Build tested. Driver loaded/unloaded.
Diff Detail
|