[U-Boot] [PATCH] drivers/mmc/fsl_esdhc.c: fix compiler warnings

Wolfgang Denk wd at denx.de
Sat May 15 19:48:21 CEST 2010


In message <1273441979-25278-1-git-send-email-wd at denx.de> Wolfgang Denk wrote:
> Commit 77c1458d caused the following compiler warnings:
> 
> fsl_esdhc.c: In function 'esdhc_pio_read_write':
> fsl_esdhc.c:142: warning: assignment discards qualifiers from pointer target type
> fsl_esdhc.c: In function 'esdhc_setup_data':
> fsl_esdhc.c:169: warning: unused variable 'wml_value'
> fsl_esdhc.c: In function 'esdhc_pio_read_write':
> fsl_esdhc.c:164: warning: control reaches end of non-void function
> 
> Fix these.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Dipen Dudhat <dipen.dudhat at freescale.com>
> Cc: Andy Fleming <afleming at freescale.com>
> ---
>  drivers/mmc/fsl_esdhc.c |   34 +++++++++++++++++-----------------
>  1 files changed, 17 insertions(+), 17 deletions(-)

Applied.

Andy, I hope this is OK with you.

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
How much net work could a network work, if a network could net work?


More information about the U-Boot mailing list