mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
[NET]: __be'ify *_type_trans()
tr_type_trans(), hippi_type_trans() left as-is. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
84531c24f2
commit
ab611487d8
16 changed files with 20 additions and 27 deletions
|
@ -5,8 +5,7 @@
|
|||
#include <linux/if_packet.h>
|
||||
#include <linux/skbuff.h>
|
||||
|
||||
static inline unsigned short x25_type_trans(struct sk_buff *skb,
|
||||
struct net_device *dev)
|
||||
static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev)
|
||||
{
|
||||
skb->mac.raw = skb->data;
|
||||
skb->input_dev = skb->dev = dev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue