freebsd-skq/sys/dev/cxgb
Dimitry Andric 2db7b9f259 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
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D7772
2016-09-03 19:01:11 +00:00
..
common sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
sys
ulp (Re-do r302574 with corrected commit message..) 2016-07-11 16:56:51 +00:00
bin2h.pl
cxgb_adapter.h
cxgb_include.h
cxgb_ioctl.h
cxgb_main.c
cxgb_offload.h
cxgb_osdep.h Fix kernel LINT build after r299363. 2016-05-10 16:31:18 +00:00
cxgb_sge.c With clang 3.9.0, compiling cxgb results in the following warning: 2016-09-03 19:01:11 +00:00
cxgb_t3fw.c
cxgb_t3fw.h
t3b_protocol_sram.h
t3b_tp_eeprom.h
t3c_protocol_sram.h
t3c_tp_eeprom.h