From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 04 Sep 2011 23:29:49 +0200 Subject: [U-Boot] [PATCH v2] net: Check network device driver name In-Reply-To: <1314696613-31095-1-git-send-email-monstr@monstr.eu> References: <1314696613-31095-1-git-send-email-monstr@monstr.eu> Message-ID: <20110904212949.499EB140ABDD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Michal Simek, In message <1314696613-31095-1-git-send-email-monstr@monstr.eu> you wrote: > If name is longer than allocated space NAMESIZE > mac address is rewritten which show error > message like: > > Error message: > Warning: Xlltemac.87000000 MAC addresses don't match: > Address in SROM is 30:00:00:00:00:00 > Address in environment is 00:0a:35:00:6a:04 > > NAMESIZE contains Driver name + zero terminated character. > > Signed-off-by: Michal Simek > > --- > v2: Apply Mike Frysinger version > --- > net/eth.c | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "There is nothing so deadly as not to hold up to people the opportunity to do great and wonderful things, if we wish to stimulate them in an active way." - Dr. Harold Urey, Nobel Laureate in chemistry