]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/tipc/bcast.h
ALSA: hda - Clean up Cxt5047 parser
[linux-2.6-omap-h63xx.git] / net / tipc / bcast.h
index 5aa024b99c558ba2d6d6aeb5b26216dd67e52a9a..2f2d731bc1c29bbb79cdc6ad1ed666784ad2a4fc 100644 (file)
@@ -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;