[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <157393863283F442885425D2C4542856282E0637@nasanexd02f.na.qualcomm.com>
Date: Mon, 13 Aug 2012 01:19:24 +0000
From: "Huang, Xiong" <xiong@....qualcomm.com>
To: Stephen Hemminger <shemminger@...tta.com>,
"Ren, Cloud" <cjren@....qualcomm.com>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
qca-linux-team <qca-linux-team@...lcomm.com>,
nic-devel <nic-devel@...lcomm.com>,
"Hao-Ran Liu(Joseph Liu)" <hao-ran.liu@...onical.com>,
Joe Perches <joe@...ches.com>,
"Rodriguez, Luis" <rodrigue@....qualcomm.com>
Subject: RE: [PATCH] net: add new QCA alx ethernet driver
> From: Stephen Hemminger [mailto:shemminger@...tta.com]
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists