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
..
2016-08-22 03:28:06 +00:00
2016-08-09 19:32:06 +00:00
2016-08-09 19:32:06 +00:00
2016-09-03 18:54:26 +00:00
2016-07-23 14:38:09 +00:00
2016-07-21 15:48:41 +00:00
2016-08-23 10:40:53 +00:00
2016-08-27 10:04:48 +00:00
2016-08-09 19:32:06 +00:00
2016-08-09 19:32:06 +00:00
2016-08-29 01:59:18 +00:00
2016-07-28 22:40:31 +00:00
2016-08-09 19:32:06 +00:00
2016-06-01 14:03:13 +00:00
2016-08-09 19:32:06 +00:00