u-boot/net
Shinya Kuribayashi 5ca2d0953e net/eth.c: Fix env_enetaddr signed overflow
Assigning the output of simple_strtoul(CB:A9:87:65:43:21) to `char', we are
warned as below:

  U-Boot 1.2.0 (Aug 30 2007 - 08:27:37)

  DRAM:  256 MB
  Flash: 32 MB
  In:    serial
  Out:   serial
  Err:   serial
  Net:   NEC-Candy
  Warning: NEC-Candy MAC addresses don't match:
  Address in SROM is         00:00:4C:80:92:A2
  Address in environment is  FFFFFFCB:FFFFFFA9:FFFFFF87:65:43:21

This patch changes env_enetaddr type from `char' to `unsigned char'.

Cc: Masaki Ishikawa <ishikawa-masaki@cnt.mxe.nes.nec.co.jp>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-01-03 22:37:13 -05:00
..
bootp.c Fix warning differ in signedness in net/net.c and net/nfs.c 2007-11-18 01:29:38 +01:00
bootp.h Fix warning differ in signedness in net/net.c and net/nfs.c 2007-11-18 01:29:38 +01:00
eth.c net/eth.c: Fix env_enetaddr signed overflow 2008-01-03 22:37:13 -05:00
Makefile Build: split COBJS value into multiple lines 2007-11-15 11:05:18 -07:00
net.c Introduce new eth_receive routine 2008-01-03 21:36:50 -05:00
nfs.c Fix warning differ in signedness in net/net.c and net/nfs.c 2007-11-18 01:29:38 +01:00
nfs.h * Patch by Steven Scholz, 25 Feb 2004: 2004-02-27 00:07:27 +00:00
rarp.c Fix warning differ in signedness in net/net.c and net/nfs.c 2007-11-18 01:29:38 +01:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
sntp.c Fix some compile problems introduced by the latest CFG_CMD_xxx cleanup 2007-07-11 23:03:06 +02:00
sntp.h * Patch by Masami Komiya, 30 Mar 2005: 2005-04-01 00:25:43 +00:00
tftp.c Fix warning differ in signedness in net/net.c and net/nfs.c 2007-11-18 01:29:38 +01:00
tftp.h Initial revision 2000-12-28 11:02:30 +00:00