[U-Boot] [PATCH] net: phy: mv88e61xx.c : fixed build warning

Prafulla Wadaskar prafulla at marvell.com
Thu Sep 24 06:31:55 CEST 2009


 

> -----Original Message-----
> From: Wolfgang Denk [mailto:wd at denx.de] 
> Sent: Thursday, September 24, 2009 3:38 AM
> To: Prafulla Wadaskar
> Cc: u-boot at lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik; 
> Ben Warren
> Subject: Re: [U-Boot] [PATCH] net: phy: mv88e61xx.c : fixed 
> build warning
> 
> Dear Prafulla Wadaskar,
> 
> In message 
> <1253545099-29437-2-git-send-email-prafulla at marvell.com> you wrote:
> > 
> > following build warning was observed
> > 
> > mv88e61xx.c: In function ‘mv88e61xx_busychk’:
Actually I used "'" here those are converted to these non-text chars by git-send-mail
Anybody any Idea, how I should enable use of such chars if needed?

Regards..
Prafulla . .

> 
> Please don't use non-text characters in the commit messages.
> 
> (Ben, please edit when applying).
> 
> > mv88e61xx.c:208: warning: dereferencing type-punned pointer 
> will break strict-aliasing rules
> > 
> > This patch fixes the same
> > Patch tested for rd6281a board build
> > 
> > Signed-off-by: Prafulla Wadaskar <prafulla at marvell.com>
> > ---
> >  drivers/net/phy/mv88e61xx.c |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> Except for that:
> 
> Acked-by: Wolfgang Denk <wd at denx.de>
> 
> 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
> Unser Kopf ist rund, damit das Denken die Richtung wechseln kann.
>                                                    -- Francis Picabia
> 


More information about the U-Boot mailing list