net: replace uses of __constant_{endian}
Base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
@@ -122,7 +122,7 @@ static void rx(struct net_device *dev, int bufnum,
|
||||
|
||||
BUGLVL(D_SKB) arcnet_dump_skb(dev, skb, "rx");
|
||||
|
||||
skb->protocol = __constant_htons(ETH_P_ARCNET);
|
||||
skb->protocol = cpu_to_be16(ETH_P_ARCNET);
|
||||
;
|
||||
netif_rx(skb);
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户