]> git.sur5r.net Git - u-boot/commit
board/linkstation/ide.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:43:37 +0000 (22:43 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:43:37 +0000 (22:43 +0100)
commit53862da918937ec8ad1f44f8c4862e98d98d0e05
tree420667c99a04f09f7b867ada645dccb6911362f6
parentafb92010b26c2089c8cf52fa17b505ea659cf5f0
board/linkstation/ide.c: Fix GCC 4.6 build warnings

Fix:
ide.c: In function 'ide_preinit':
ide.c:69:21: warning: array subscript is above array bounds
[-Warray-bounds]
ide.c:69:21: warning: array subscript is above array bounds
[-Warray-bounds]
ide.c:70:17: warning: array subscript is above array bounds
[-Warray-bounds]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
board/linkstation/ide.c