[U-Boot] [PATCH] drivers/mmc/tegra2_mmc.c: fix GCC 4.6 warning

Wolfgang Denk wd at denx.de
Fri Mar 30 22:11:48 CEST 2012


Dear Anatolij Gustschin,

In message <1332942000-4992-1-git-send-email-agust at denx.de> you wrote:
> Fix:
> tegra2_mmc.c: In function 'mmc_send_cmd':
> tegra2_mmc.c:230:3: warning: 'mask' may be used uninitialized in this
> function [-Wuninitialized]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Doug Anderson <dianders at chromium.org>
> Cc: Tom Warren <twarren at nvidia.com>
> ---
> gcc is wrong here, I think. But I'd like to have a clean
> build log.
> 
> Anatolij
> 
>  drivers/mmc/tegra2_mmc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Tom, Albert: hope this is OK with you; it fixes some real issues, and
I want to get clear for -rc1.

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
Command, n.:
            Statement presented by a human and accepted by a computer
in such a manner as to make the human feel as if he is in control.


More information about the U-Boot mailing list