[U-Boot] [PATCH 05/22] board/linkstation/ide.c: Fix GCC 4.6 build warnings
Wolfgang Denk
wd at denx.de
Mon Nov 7 22:47:13 CET 2011
Dear Wolfgang Denk,
In message <1320505999-9770-6-git-send-email-wd at denx.de> you wrote:
> 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 at denx.de>
> Cc: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
> ---
> board/linkstation/ide.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
Applied, with the modifications suggested by Guennadi - 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
I can't say I've ever been lost, but I was bewildered once for three
days. - Daniel Boone (Attributed)
More information about the U-Boot
mailing list