[U-Boot] [PATCH 3/3] drivers/block/sata_sil3114.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Wed Nov 16 21:00:58 CET 2011


Dear Kumar Gala,

In message <1320855670-7289-3-git-send-email-galak at kernel.crashing.org> you wrote:
> Fix:
> 
> sata_sil3114.c: In function 'scan_sata':
> sata_sil3114.c:793:7: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:794:7: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:795:39: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:795:7: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:797:7: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:800:7: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:801:7: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:802:39: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:802:7: warning: array subscript is above array bounds [-Warray-bounds]
> sata_sil3114.c:804:7: warning: array subscript is above array bounds [-Warray-bounds]
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  drivers/block/sata_sil3114.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

Applied, 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
Don't tell me how hard you work.  Tell me how much you get done.
                                                     -- James J. Ling


More information about the U-Boot mailing list