]> git.ipfire.org Git - people/ms/u-boot.git/commit - board/mpl/pati/cmd_pati.c
PATI board: fix compiler warnings
authorWolfgang Denk <wd@denx.de>
Sat, 18 Jul 2009 23:15:52 +0000 (01:15 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Jul 2009 23:15:52 +0000 (01:15 +0200)
commitd39041fcadb1231430201d298c31f6be03d654f7
treef678ef55f72a7a496ba16e2b43dac88a9ea1fb6a
parent28c345042eafc550a34b9f52431bd4a22af6ac25
PATI board: fix compiler warnings

Fix these:
pati.c: In function 'checkboard':
pati.c:358: warning: pointer targets in passing argument 2 of 'getenv_r' differ in signedness
../common/flash.c: In function 'write_word':
../common/flash.c:824: warning: dereferencing type-punned pointer will break strict-aliasing rules
cmd_pati.c: In function 'do_pati':
cmd_pati.c:279: warning: 'value' may be used uninitialized in this function

Signed-off-by: Wolfgang Denk <wd@denx.de>
board/mpl/common/flash.c
board/mpl/pati/cmd_pati.c
board/mpl/pati/pati.c