mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[ATALK]: endian annotations
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f852640e74
commit
f6e276ee67
3 changed files with 15 additions and 15 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue