summaryrefslogtreecommitdiffstats
path: root/net/appletalk
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-06-20 13:32:05 -0700
committerDavid S. Miller <davem@davemloft.net>2005-06-20 13:32:05 -0700
commitf6e276ee67c0ac9efafd24bc6f7a84aa359656df (patch)
tree33e3377739fb67573ef7cba8312f142765ccff79 /net/appletalk
parentf852640e74f71e6dd38146e1149ec1fe6da2fb07 (diff)
downloadlinux-stable-f6e276ee67c0ac9efafd24bc6f7a84aa359656df.tar.gz
linux-stable-f6e276ee67c0ac9efafd24bc6f7a84aa359656df.tar.bz2
linux-stable-f6e276ee67c0ac9efafd24bc6f7a84aa359656df.zip
[ATALK]: endian annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/appletalk')
-rw-r--r--net/appletalk/aarp.c2
-rw-r--r--net/appletalk/ddp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/appletalk/aarp.c b/net/appletalk/aarp.c
index 54640c01b50c..10d040461021 100644
--- a/net/appletalk/aarp.c
+++ b/net/appletalk/aarp.c
@@ -565,7 +565,7 @@ int aarp_send_ddp(struct net_device *dev, struct sk_buff *skb,
* numbers we just happen to need. Now put the
* length in the lower two.
*/
- *((__u16 *)skb->data) = htons(skb->len);
+ *((__be16 *)skb->data) = htons(skb->len);
ft = 1;
}
/*
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c
index 876dbac71060..192b529f86a4 100644
--- a/net/appletalk/ddp.c
+++ b/net/appletalk/ddp.c
@@ -401,7 +401,7 @@ out_err:
}
/* Find a match for a specific network:node pair */
-static struct atalk_iface *atalk_find_interface(int net, int node)
+static struct atalk_iface *atalk_find_interface(__be16 net, int node)
{
struct atalk_iface *iface;