From: YOSHIFUJI Hideaki Date: Tue, 11 Dec 2007 18:51:03 +0000 (+0900) Subject: [BRIDGE]: Use cpu_to_be16() where appropriate. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=91c5ec3ed184b7ca08314457b6e202e3d2cfb65f;p=openwrt%2Fstaging%2Fblogic.git [BRIDGE]: Use cpu_to_be16() where appropriate. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index 0ee79a726d91..255c00f60ce7 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -109,7 +109,7 @@ static inline int is_link_local(const unsigned char *dest) { __be16 *a = (__be16 *)dest; static const __be16 *b = (const __be16 *)br_group_address; - static const __be16 m = __constant_cpu_to_be16(0xfff0); + static const __be16 m = cpu_to_be16(0xfff0); return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | ((a[2] ^ b[2]) & m)) == 0; }