Re: [net-next 01/15] i40e/i40evf: fix some minor type mismatches

2017-08-12 Thread David Miller
From: Jeff Kirsher Date: Sat, 12 Aug 2017 04:08:33 -0700 > @@ -1830,7 +1830,7 @@ static struct sk_buff *i40e_construct_skb(struct > i40e_ring *rx_ring, > /* prefetch first cache line of first page */ > prefetch(xdp->data); > #if L1_CACHE_BYTES < 128 > - prefetch(xdp->data + L1_C

[net-next 01/15] i40e/i40evf: fix some minor type mismatches

2017-08-12 Thread Jeff Kirsher
From: Jesse Brandeburg This patch fixes two trivial type mismatches, one where we were returning an enum type, but pretending it was an int, and the other where we were using a void* for offset math, but it is communicated more clearly and correctly to use a u8*, which we then cast to void* for p