Skip to contentSkip to conversation

ax25: endian-annotate ax25_type_trans()

PATCH In review Alexey Dobriyan 3 participants 3 messages Jun 19, 2005 – Jun 20, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ax25: endian-annotate ax25_type_trans()

include/net/ax25.h +1 -1
Index: linux-sparse/include/net/ax25.h
===================================================================
@@ -220,7 +220,7 @@ static __inline__ void ax25_cb_put(ax25_
 	}
 }
 
-static inline unsigned short ax25_type_trans(struct sk_buff *skb, struct net_device *dev)
+static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev)
 {
 	skb->dev      = dev;
 	skb->pkt_type = PACKET_HOST;
#1 lore raw
Quoted 6 lines · Alexey Dobriyan

Subject: [PATCH] ax25: endian-annotate ax25_type_trans()
Date: Mon, 20 Jun 2005 00:26:04 +0400
Cc: [email protected], [email protected],
Al Viro <[email protected]>
Content-Type: text/plain;
charset="us-ascii"

Obviously correct, Dave would you apply this one?

Ralf

Quoted 7 lines

Index: linux-sparse/include/net/ax25.h
===================================================================

include/net/ax25.h static __inline__ void ax25_cb_put(ax25_ · line 226

Quoted 8 lines
include/net/ax25.h +1 -1
@@ -220,7 +220,7 @@ static __inline__ void ax25_cb_put(ax25_
 	}
 }
 
-static inline unsigned short ax25_type_trans(struct sk_buff *skb, struct net_device *dev)
+static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev)
 {
 	skb->dev      = dev;
 	skb->pkt_type = PACKET_HOST;

73 de DL5RB op Ralf

--
Loc. JN47BS / CQ 14 / ITU 28 / DOK A21

maintainer
#2 lore raw

From: Ralf Baechle DL5RB <[email protected]>
Date: Mon, 20 Jun 2005 11:31:35 +0100

Quoted 1 line

Obviously correct, Dave would you apply this one?

Yep, I will.