mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 17:12:46 +00:00
9c9ede5dd1
With clang 3.9.0, compiling cxgb results in the following warning: sys/dev/cxgb/cxgb_sge.c:2873:44: error: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Werror,-Wconstant-conversion] *mtod(m, char *) = CPL_ASYNC_NOTIF; ~ ^~~~~~~~~~~~~~~ This is because CPL_ASYNC_NOTIF is 0x80, so the plain char argument is wrapped to a negative value. Fix this by using uint8_t instead. Reviewed by: np Differential Revision: https://reviews.freebsd.org/D7772 |
||
---|---|---|
.. | ||
common | ||
sys | ||
ulp | ||
bin2h.pl | ||
cxgb_adapter.h | ||
cxgb_include.h | ||
cxgb_ioctl.h | ||
cxgb_main.c | ||
cxgb_offload.h | ||
cxgb_osdep.h | ||
cxgb_sge.c | ||
cxgb_t3fw.c | ||
cxgb_t3fw.h | ||
t3b_protocol_sram.h | ||
t3b_tp_eeprom.h | ||
t3c_protocol_sram.h | ||
t3c_tp_eeprom.h |