[U-Boot] [PATCH] ppc4xx: Fix compilation warning for	canyonlands &glacier
    Wolfgang Denk 
    wd at denx.de
       
    Mon Sep  8 20:32:12 CEST 2008
    
    
  
Dear "Victor Gallardo",
In message <0CA0A16855646F4FA96D25A158E299D604F7F04E at SDCEXCHANGE01.ad.amcc.com> you wrote:
> 
> Oops, Sorry Stefan my fault for introducing this. 
...
>  #if defined(CONFIG_HAS_ETH1) && defined(CONFIG_GPCS_PHY1_ADDR)
>  	case CONFIG_GPCS_PHY1_ADDR:
> -		mode_reg = in_be32((void *)EMAC_M1 + 0x100);
> -		if (addr == EMAC_M1_IPPA_GET(mode_reg))
> +		if (addr == EMAC_M1_IPPA_GET(in_be32((void *)EMAC_M1 +
> 0x100)))
^^^^^^^^^^^^^^
Line wrapped.
>  #if defined(CONFIG_HAS_ETH2) && defined(CONFIG_GPCS_PHY2_ADDR)
>  	case CONFIG_GPCS_PHY2_ADDR:
> -		mode_reg = in_be32((void *)EMAC_M1 + 0x300);
> -		if (addr == EMAC_M1_IPPA_GET(mode_reg))
> +		if (addr == EMAC_M1_IPPA_GET(in_be32((void *)EMAC_M1 +
> 0x300)))
^^^^^^^^^^^^^^
Line wrapped.
>  #if defined(CONFIG_HAS_ETH3) && defined(CONFIG_GPCS_PHY3_ADDR)
>  	case CONFIG_GPCS_PHY3_ADDR:
> -		mode_reg = in_be32((void *)EMAC_M1 + 0x400);
> -		if (addr == EMAC_M1_IPPA_GET(mode_reg))
> +		if (addr == EMAC_M1_IPPA_GET(in_be32((void *)EMAC_M1 +
> 0x400)))
^^^^^^^^^^^^^^
Line wrapped.
Please fix your mailer setup and resubmit.
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 have never understood the female capacity to avoid a direct  answer
to any question.
	-- Spock, "This Side of Paradise", stardate 3417.3
    
    
More information about the U-Boot
mailing list