[U-Boot] [PATCH] drivers/fsl_pci_init: Fix compile warning

Wolfgang Denk wd at denx.de
Tue Dec 9 21:15:16 CET 2008


Dear Kumar Gala,

In message <1228840053-29000-1-git-send-email-galak at kernel.crashing.org> you wrote:
> fsl_pci_init.c: In function 'fsl_pci_setup_inbound_windows':
> fsl_pci_init.c:122: warning: comparison is always true due to limited range of data type
> 
> The check only makes sense if we are CONFIG_PHYS_64BIT
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  drivers/pci/fsl_pci_init.c |    2 ++
>  1 files changed, 2 insertions(+), 0 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
8 Catfish                                               = 1 Octo-puss


More information about the U-Boot mailing list