From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?RXJpYyBCw6luYXJk?= Date: Mon, 21 Jun 2010 09:50:08 +0200 Subject: [U-Boot] [PATCH 2/2] at91_emac: Write MAC address automatically In-Reply-To: <4C1EFFBF.6030902@gmail.com> References: <1276605361-17283-1-git-send-email-eric@eukrea.com> <4C1EFFBF.6030902@gmail.com> Message-ID: <4C1F19B0.6080208@eukrea.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Ben, Le 21/06/2010 07:59, Ben Warren a ?crit : > On 6/15/2010 5:36 AM, Eric B?nard wrote: >> + >> + if (netdev->enetaddr != 0) { >> > This check's not necessary. The caller checks if the MAC address is > valid ( a more extensive check than you do here) OK, fixed patch sent, thanks. Eric