On 4/29/15 4:15 PM, Jason Gunthorpe wrote:
Read carefully:
> >You'd change the loop stride to by u32 as well.
which means this:
static void cm_mask_copy(u32 *dst, const u32 *src, const u32 *mask)
{
int i;
for (i = 0; i < IB_CM_COMPARE_SIZE; i++)
dst[i] = src[i] & mask[i];
}
Divide IB_CM_COMPARE_SIZE by 4, adjust all users.
Make other related type changes the compiler tells you about.
Do not add casts.
got it. that was a lot clearer.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html