diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-01-15 15:45:31 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-01-15 15:45:31 +0100 |
| commit | 49a93bc978b4b3d564f6b330179b4cc2724a031d (patch) | |
| tree | 8b14b6c1d32b2a64bd9e7d0793717780ecc1d985 /net/tipc | |
| parent | 54da5b3d44238eeb7417bacf792fb416d473bf4d (diff) | |
| parent | a6525042bfdfcab128bd91fad264de10fd24a55e (diff) | |
Merge branch 'linus' into cpus4096
Diffstat (limited to 'net/tipc')
| -rw-r--r-- | net/tipc/bcast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/bcast.h b/net/tipc/bcast.h index 5aa024b99c5..2f2d731bc1c 100644 --- a/net/tipc/bcast.h +++ b/net/tipc/bcast.h @@ -124,7 +124,7 @@ static inline int tipc_nmap_equal(struct tipc_node_map *nm_a, struct tipc_node_m static inline void tipc_nmap_diff(struct tipc_node_map *nm_a, struct tipc_node_map *nm_b, struct tipc_node_map *nm_diff) { - int stop = sizeof(nm_a->map) / sizeof(u32); + int stop = ARRAY_SIZE(nm_a->map); int w; int b; u32 map; |
