[U-Boot] [PATCH 03/14] drivers/block/sata_dwc.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Fri Dec 2 00:10:59 CET 2011


Dear Wolfgang Denk,

In message <1322641077-829-4-git-send-email-wd at denx.de> you wrote:
> Fix:
> sata_dwc.c: In function 'scan_sata':
> sata_dwc.c:535:38: warning: variable 'udma_mask' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Kazuaki Ichinohe <kazuichi at fsi.co.jp>
> ---
> total: 0 errors, 0 warnings, 18 lines checked
> NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE
> 
>  drivers/block/sata_dwc.c |    6 +-----
>  1 files changed, 1 insertions(+), 5 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've finally learned what `upward compatible' means. It means we get
to keep all our old mistakes." - Dennie van Tassel


More information about the U-Boot mailing list