>  struct gem_statistic {
> -     char stat_string[ETH_GSTRING_LEN];
> +     char stat_string[ETH_GSTRING_LEN] __nonstring;

This general pattern of a char foo[ETH_GSTRING_LEN]' will appear
throughout drivers/net/ethernet. Maybe Coccinelle can find them all
and add the __nonstring ?

Reviewed-by: Andrew Lunn <[email protected]>

    Andrew

Reply via email to