Loading drivers/net/myri_sbus.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading drivers/net/plip.c +1 −1 Original line number Diff line number Diff line Loading @@ -540,7 +540,7 @@ plip_receive(unsigned short nibble_timeout, struct net_device *dev, * in far too many old systems not all even running Linux. */ static unsigned short plip_type_trans(struct sk_buff *skb, struct net_device *dev) static __be16 plip_type_trans(struct sk_buff *skb, struct net_device *dev) { struct ethhdr *eth; unsigned char *rawp; Loading drivers/net/wan/farsync.c +1 −2 Original line number Diff line number Diff line Loading @@ -861,8 +861,7 @@ fst_tx_dma_complete(struct fst_card_info *card, struct fst_port_info *port, /* * Mark it for our own raw sockets interface */ static unsigned short farsync_type_trans(struct sk_buff *skb, struct net_device *dev) static __be16 farsync_type_trans(struct sk_buff *skb, struct net_device *dev) { skb->dev = dev; skb->mac.raw = skb->data; Loading drivers/net/wan/hdlc_cisco.c +1 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,7 @@ static void cisco_keepalive_send(struct net_device *dev, u32 type, static unsigned short cisco_type_trans(struct sk_buff *skb, struct net_device *dev) static __be16 cisco_type_trans(struct sk_buff *skb, struct net_device *dev) { hdlc_header *data = (hdlc_header*)skb->data; Loading drivers/net/wan/hdlc_ppp.c +1 −2 Original line number Diff line number Diff line Loading @@ -66,8 +66,7 @@ static void ppp_close(struct net_device *dev) static unsigned short ppp_type_trans(struct sk_buff *skb, struct net_device *dev) static __be16 ppp_type_trans(struct sk_buff *skb, struct net_device *dev) { return __constant_htons(ETH_P_WAN_PPP); } Loading Loading
drivers/net/myri_sbus.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading
drivers/net/plip.c +1 −1 Original line number Diff line number Diff line Loading @@ -540,7 +540,7 @@ plip_receive(unsigned short nibble_timeout, struct net_device *dev, * in far too many old systems not all even running Linux. */ static unsigned short plip_type_trans(struct sk_buff *skb, struct net_device *dev) static __be16 plip_type_trans(struct sk_buff *skb, struct net_device *dev) { struct ethhdr *eth; unsigned char *rawp; Loading
drivers/net/wan/farsync.c +1 −2 Original line number Diff line number Diff line Loading @@ -861,8 +861,7 @@ fst_tx_dma_complete(struct fst_card_info *card, struct fst_port_info *port, /* * Mark it for our own raw sockets interface */ static unsigned short farsync_type_trans(struct sk_buff *skb, struct net_device *dev) static __be16 farsync_type_trans(struct sk_buff *skb, struct net_device *dev) { skb->dev = dev; skb->mac.raw = skb->data; Loading
drivers/net/wan/hdlc_cisco.c +1 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,7 @@ static void cisco_keepalive_send(struct net_device *dev, u32 type, static unsigned short cisco_type_trans(struct sk_buff *skb, struct net_device *dev) static __be16 cisco_type_trans(struct sk_buff *skb, struct net_device *dev) { hdlc_header *data = (hdlc_header*)skb->data; Loading
drivers/net/wan/hdlc_ppp.c +1 −2 Original line number Diff line number Diff line Loading @@ -66,8 +66,7 @@ static void ppp_close(struct net_device *dev) static unsigned short ppp_type_trans(struct sk_buff *skb, struct net_device *dev) static __be16 ppp_type_trans(struct sk_buff *skb, struct net_device *dev) { return __constant_htons(ETH_P_WAN_PPP); } Loading