summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/zaurus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/zaurus.c')
-rw-r--r--drivers/net/usb/zaurus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/usb/zaurus.c b/drivers/net/usb/zaurus.c
index 6aaa6eb9df72..dc3cd03763af 100644
--- a/drivers/net/usb/zaurus.c
+++ b/drivers/net/usb/zaurus.c
@@ -74,10 +74,10 @@ done:
fcs = crc32_le(~0, skb->data, skb->len);
fcs = ~fcs;
- *skb_put (skb, 1) = fcs & 0xff;
- *skb_put (skb, 1) = (fcs>> 8) & 0xff;
- *skb_put (skb, 1) = (fcs>>16) & 0xff;
- *skb_put (skb, 1) = (fcs>>24) & 0xff;
+ *(u8 *)skb_put(skb, 1) = fcs & 0xff;
+ *(u8 *)skb_put(skb, 1) = (fcs>> 8) & 0xff;
+ *(u8 *)skb_put(skb, 1) = (fcs>>16) & 0xff;
+ *(u8 *)skb_put(skb, 1) = (fcs>>24) & 0xff;
}
return skb;
}