>  struct xcast_addr_list {
> -     struct list_head list;
>       int              count;
> +     u64              mc[0];

Please use the standard C99 syntax here:

        u64              mc[];

> +                             mc_list = kmalloc(sizeof(*mc_list) +
> +                                               sizeof(u64) * 
> netdev_mc_count(netdev),
> +                                               GFP_ATOMIC);

kmalloc_array(), please.

Reply via email to