[ATALK]: endian annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f852640e74
commit
f6e276ee67
@@ -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;
|
||||
}
|
||||
/*
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user