summaryrefslogtreecommitdiff
path: root/net/rarp.h
diff options
context:
space:
mode:
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>2007-11-19 20:27:04 +0900
committerBen Warren <biggerbadderben@gmail.com>2008-01-03 22:37:13 -0500
commit5ca2d0953e4579a80810966cca2077e20d912c97 (patch)
tree988ed52dbd760b1851d799c8e1dfd8919e8f1f3e /net/rarp.h
parentf85b60710571b37293d2233933b76e2aa3db5635 (diff)
downloadu-boot-imx-5ca2d0953e4579a80810966cca2077e20d912c97.zip
u-boot-imx-5ca2d0953e4579a80810966cca2077e20d912c97.tar.gz
u-boot-imx-5ca2d0953e4579a80810966cca2077e20d912c97.tar.bz2
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>
Diffstat (limited to 'net/rarp.h')
0 files changed, 0 insertions, 0 deletions