On Tue, Aug 02, 2005 at 11:13:39AM -0700, Randy.Dunlap wrote: > On Tue, 2 Aug 2005, Sridhar Samudrala wrote: > > > On Fri, 2005-07-29 at 03:53 +0400, Alexey Dobriyan wrote: > > > * Use __be16, __be32. > > > * Add SCTP_NL() in the spirit of SCTP_U32() and friends. > > > * Tiny tweak in sctp_chunk_assign_ssn(). > > > > How do we run sparse to check for endian errors? > > I tried make C=1 net/sctp/sctp.ko, but i didn't see any > > endian warnings.
> You have to enable -Wbitsize , it's not a default option. -Wbitwise > See Documentation/sparse.txt or use something like this: > > make C=1 CHECK='~/bin/sparse -Wbitsize' all make C=1 CHECK="sparse -Wbitwise" net/sctp/ assuming you have ~/bin in PATH (sparse is installed there by default). - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html