|
@@ -65,10 +65,10 @@
|
|
|
#include <net/ip6_checksum.h>
|
|
|
|
|
|
/* Ensure that we have struct in6_addr aligned on 32bit word. */
|
|
|
-static void *__mld2_query_bugs[] __attribute__((__unused__)) = {
|
|
|
- BUILD_BUG_ON_NULL(offsetof(struct mld2_query, mld2q_srcs) % 4),
|
|
|
- BUILD_BUG_ON_NULL(offsetof(struct mld2_report, mld2r_grec) % 4),
|
|
|
- BUILD_BUG_ON_NULL(offsetof(struct mld2_grec, grec_mca) % 4)
|
|
|
+static int __mld2_query_bugs[] __attribute__((__unused__)) = {
|
|
|
+ BUILD_BUG_ON_ZERO(offsetof(struct mld2_query, mld2q_srcs) % 4),
|
|
|
+ BUILD_BUG_ON_ZERO(offsetof(struct mld2_report, mld2r_grec) % 4),
|
|
|
+ BUILD_BUG_ON_ZERO(offsetof(struct mld2_grec, grec_mca) % 4)
|
|
|
};
|
|
|
|
|
|
static struct in6_addr mld2_all_mcr = MLD2_ALL_MCR_INIT;
|