On Fri, 2017-01-06 at 16:55 -0800, Felix Manlunas wrote: > From: Prasad Kanneganti <prasad.kannega...@cavium.com> > > Store the L4 hash of received packets in the skb; the hash is computed in > the NIC firmware. ...
> > + if (rh->r_dh.has_hash) { > + u32 hash = be32_to_cpu(*(u32 *)(skb->data + r_dh_off)); sparse should complain on this line, right ? make C=2 CF=-D__CHECK_ENDIAN__ M=drivers/net/ethernet/cavium