[U-Boot] [PATCH 11/19] sata_dwc.c: Fix GCC 4.6 build warnings
Wolfgang Denk
wd at denx.de
Wed Nov 16 21:16:28 CET 2011
Dear Stefan Roese,
In message <1321380169-6634-1-git-send-email-sr at denx.de> you wrote:
> Fix:
> sata_dwc.c: In function 'sata_dwc_softreset':
> sata_dwc.c:444:5: warning: variable 'status' set but not used [-Wunused-but-set-variable]
> sata_dwc.c:443:6: warning: variable 'serror' set but not used [-Wunused-but-set-variable]
> sata_dwc.c: In function 'scan_sata':
> sata_dwc.c:654:16: warning: variable 'lba_desc' set but not used [-Wunused-but-set-variable]
> sata_dwc.c:538:16: warning: variable 'xfer_mask' set but not used [-Wunused-but-set-variable]
> sata_dwc.c: In function 'ata_dev_read_id':
> sata_dwc.c:747:14: warning: variable 'reason' set but not used [-Wunused-but-set-variable]
> sata_dwc.c: In function 'ata_dev_read_sectors':
> sata_dwc.c:1810:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
> sata_dwc.c: In function 'ata_dev_write_sectors':
> sata_dwc.c:1994:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
> drivers/block/sata_dwc.c | 35 +++--------------------------------
> 1 files changed, 3 insertions(+), 32 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
I have yet to add the ESP-driver to the kernel to read the mind of
the user... - Linus Torvalds in
<Pine.LNX.3.91.960426110644.24860I-100000 at linux.cs.Helsinki.FI>
More information about the U-Boot
mailing list