|
@@ -597,11 +597,11 @@ static int lance_start_xmit (struct sk_buff *skb, struct net_device *dev)
|
|
ib->btx_ring [entry].length = (-len) | 0xf000;
|
|
ib->btx_ring [entry].length = (-len) | 0xf000;
|
|
ib->btx_ring [entry].misc = 0;
|
|
ib->btx_ring [entry].misc = 0;
|
|
|
|
|
|
- skb_copy_from_linear_data(skb, &ib->tx_buf [entry][0], skblen);
|
|
|
|
|
|
+ skb_copy_from_linear_data(skb, (void *)&ib->tx_buf [entry][0], skblen);
|
|
|
|
|
|
/* Clear the slack of the packet, do I need this? */
|
|
/* Clear the slack of the packet, do I need this? */
|
|
if (len != skblen)
|
|
if (len != skblen)
|
|
- memset ((char *) &ib->tx_buf [entry][skblen], 0, len - skblen);
|
|
|
|
|
|
+ memset ((void *) &ib->tx_buf [entry][skblen], 0, len - skblen);
|
|
|
|
|
|
/* Now, give the packet to the lance */
|
|
/* Now, give the packet to the lance */
|
|
ib->btx_ring [entry].tmd1_bits = (LE_T1_POK|LE_T1_OWN);
|
|
ib->btx_ring [entry].tmd1_bits = (LE_T1_POK|LE_T1_OWN);
|