RE: [PATCH] net: add new QCA alx ethernet driver

From: Huang, Xiong
Date: Sun Aug 12 2012 - 21:20:21 EST


> From: Stephen Hemminger [mailto:shemminger@xxxxxxxxxx]
> Sent: Sunday, August 12, 2012 4:51
> To: Ren, Cloud
> > + strcpy(netdev->name, "eth%d");
> > + retval = register_netdev(netdev);
>
> The strcpy is unnecessary, alloc_etherdev already sets that.

Thanks, Hemminger, we will remove this line in the next post.

-Xiong
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/