diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-11-07 23:37:50 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-07 23:37:50 -0800 |
commit | f574179b63e48f5285468b5ee40f3c480221f708 (patch) | |
tree | f36e43b5bfcb97af4f2c2458525826f8676e4ea3 /net/tipc/name_table.c | |
parent | f400923735ecbb67cbe4a3606c9479f694754f51 (diff) |
tipc: trivial endian annotation in debug statement
Use htonl rather than ntohl on a u32.
net/tipc/name_table.c:557:2: warning: cast to restricted __be32
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/name_table.c')
-rw-r--r-- | net/tipc/name_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c index cd72e22b132b..acab41a48d67 100644 --- a/net/tipc/name_table.c +++ b/net/tipc/name_table.c @@ -555,7 +555,7 @@ static struct name_seq *nametbl_find_seq(u32 type) struct name_seq *ns; dbg("find_seq %u,(%u,0x%x) table = %p, hash[type] = %u\n", - type, ntohl(type), type, table.types, hash(type)); + type, htonl(type), type, table.types, hash(type)); seq_head = &table.types[hash(type)]; hlist_for_each_entry(ns, seq_node, seq_head, ns_list) { |