net: replace __constant_{endian} uses in net headers
Base versions handle constant folding now. For headers exposed to userspace, we must only expose the __ prefixed versions. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
35c26c2cf6
commit
f3a7c66b5c
@@ -388,7 +388,7 @@ enum {
|
||||
IB_MULTICAST_QPN = 0xffffff
|
||||
};
|
||||
|
||||
#define IB_LID_PERMISSIVE __constant_htons(0xFFFF)
|
||||
#define IB_LID_PERMISSIVE cpu_to_be16(0xFFFF)
|
||||
|
||||
enum ib_ah_flags {
|
||||
IB_AH_GRH = 1
|
||||
|
Reference in New Issue
Block a user