[ATALK]: endian annotations

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Alexey Dobriyan 2005-06-20 13:32:05 -07:00 • committed by David S. Miller
commit f6e276ee67
3 changed files with 15 additions and 15 deletions

View file

@ -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;
}
/*

View file

@ -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;