|
@@ -374,7 +374,8 @@ static int ocelot_port_xmit(struct sk_buff *skb, struct net_device *dev)
|
|
ocelot_gen_ifh(ifh, &info);
|
|
ocelot_gen_ifh(ifh, &info);
|
|
|
|
|
|
for (i = 0; i < IFH_LEN; i++)
|
|
for (i = 0; i < IFH_LEN; i++)
|
|
- ocelot_write_rix(ocelot, cpu_to_be32(ifh[i]), QS_INJ_WR, grp);
|
|
|
|
|
|
+ ocelot_write_rix(ocelot, (__force u32)cpu_to_be32(ifh[i]),
|
|
|
|
+ QS_INJ_WR, grp);
|
|
|
|
|
|
count = (skb->len + 3) / 4;
|
|
count = (skb->len + 3) / 4;
|
|
last = skb->len % 4;
|
|
last = skb->len % 4;
|