[U-Boot] [PATCH 02/18] GCC4.6: Squash warning in cfi_flash.c

Wolfgang Denk wd at denx.de
Thu Oct 27 23:59:25 CEST 2011


Dear Marek Vasut,

In message <1319535604-20831-3-git-send-email-marek.vasut at gmail.com> you wrote:
> cfi_flash.c: In function 'flash_protect_default':
> cfi_flash.c:2152: warning: format '%08x' expects type 'unsigned int', but
> argument 2 has type 'ulong'
> cfi_flash.c:2152: warning: format '%08x' expects type 'unsigned int', but
> argument 3 has type 'long unsigned int'
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at gentoo.org>
> Cc: Scott Wood <scottwood at freescale.com>
> ---
>  drivers/mtd/cfi_flash.c |    2 +-
>  1 files changed, 1 insertions(+), 1 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
"The algorithm to do that is extremely nasty. You might want  to  mug
someone with it."                   - M. Devine, Computer Science 340


More information about the U-Boot mailing list