]> err.no Git - linux-2.6/blobdiff - drivers/net/myri_sbus.c
[PATCH] fix send_sigqueue() vs thread exit race
[linux-2.6] / drivers / net / myri_sbus.c
index aad5494c83cfc9d4aa80b6a1421855762559f17e..f0996ce5c268698b060a784fbe1ab0661817b577 100644 (file)
@@ -369,7 +369,7 @@ static void myri_tx(struct myri_eth *mp, struct net_device *dev)
  * assume 802.3 if the type field is short enough to be a length.
  * This is normal practice and works for any 'now in use' protocol.
  */
-static unsigned short myri_type_trans(struct sk_buff *skb, struct net_device *dev)
+static __be16 myri_type_trans(struct sk_buff *skb, struct net_device *dev)
 {
        struct ethhdr *eth;
        unsigned char *rawp;