svn commit: r245222 - head/sys/sys

Gleb Smirnoff glebius at FreeBSD.org
Tue Jan 15 10:42:58 UTC 2013


On Thu, Jan 10, 2013 at 09:31:28AM +1100, Bruce Evans wrote:
B> > On Wed, Jan 09, 2013 at 09:09:09AM +0000, Hans Petter Selasky wrote:
B> > H> Log:
B> > H>   Fix compile warning when using GCC:
B> > H>   Comparison between signed and unsigned.
B> 
B>         o Add 3 style bugs:
B>  	 2 sets of excessive parentheses
B>  	 1 line longer than 80 columns

Bruce,

can you please look at attached patch, that fixes problems you
describe? It

- fixes mentioned style bugs in param.h
- adds int casts to MHLEN and MLEN
- removes extra casts from (void *) to (struct mbuf *)
- removes extra declarations of inlined functions
- uninlines and moves m_get2() and m_getjcl() to uipc_mbuf.c
- size argument of m_get2() swicthed back to int

-- 
Totus tuus, Glebius.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mbuf.diff
Type: text/x-diff
Size: 6974 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130115/6a52f7c5/attachment.diff>


More information about the svn-src-all mailing list