Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=02ea4923b4997d7e1310c027081f46d584b9d714 Commit: 02ea4923b4997d7e1310c027081f46d584b9d714 Parent: b6d9bcb0697e60d5424e2f395fe950f0e22f4418 Author: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> AuthorDate: Wed Mar 7 14:21:31 2007 +0900 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Wed Apr 25 22:24:01 2007 -0700
[NET] TIPC: Use htons() where appropriate. Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- net/tipc/eth_media.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/tipc/eth_media.c b/net/tipc/eth_media.c index 9be4839..f71ba9d 100644 --- a/net/tipc/eth_media.c +++ b/net/tipc/eth_media.c @@ -140,7 +140,7 @@ static int enable_bearer(struct tipc_bearer *tb_ptr) return -EDQUOT; if (!eb_ptr->dev) { eb_ptr->dev = dev; - eb_ptr->tipc_packet_type.type = __constant_htons(ETH_P_TIPC); + eb_ptr->tipc_packet_type.type = htons(ETH_P_TIPC); eb_ptr->tipc_packet_type.dev = dev; eb_ptr->tipc_packet_type.func = recv_msg; eb_ptr->tipc_packet_type.af_packet_priv = eb_ptr; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html