On Thu, Dec 31, 2015 at 08:58:31AM +0100, Bart Van Assche wrote: > On 12/17/2015 08:52 PM, Christoph Lameter wrote: > >- in_mad->mad_hdr.attr_id = cpu_to_be16(0x12); /* PortCounters */ > >+ in_mad->mad_hdr.attr_id = attr; > > Hello Christoph, > > sparse reports an endianness mismatch for this and similar assignments > (make M=drivers/infiniband/core C=2 CF=-D__CHECK_ENDIAN__). Can you have > a look at this ?
quick patch sent: https://www.mail-archive.com/linux-rdma@vger.kernel.org/msg31257.html Ira > > Thanks, > > Bart. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html