netfilter: nf_tables: Annotate struct nft_pipapo_match with __counted_by
[linux-2.6-microblaze.git] / net / netfilter / nft_set_pipapo.h
index 25a7559..2e164a3 100644 (file)
@@ -147,7 +147,7 @@ struct nft_pipapo_match {
        unsigned long * __percpu *scratch;
        size_t bsize_max;
        struct rcu_head rcu;
-       struct nft_pipapo_field f[];
+       struct nft_pipapo_field f[] __counted_by(field_count);
 };
 
 /**