[U-Boot] [PATCH] drivers/net/mvgbe.c: Fix GCC 4.6 warnings
Wolfgang Denk
wd at denx.de
Mon Dec 5 23:04:26 CET 2011
Dear Anatolij Gustschin,
In message <1321729176-5520-1-git-send-email-agust at denx.de> you wrote:
> Fix:
> mvgbe.c: In function 'mvgbe_send':
> mvgbe.c:555:2: warning: dereferencing type-punned pointer will
> break strict-aliasing rules [-Wstrict-aliasing]
> mvgbe.c: In function 'mvgbe_recv':
> mvgbe.c:640:2: warning: dereferencing type-punned pointer will
> break strict-aliasing rules [-Wstrict-aliasing]
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Prafulla Wadaskar <prafulla at marvell.com>
> ---
> drivers/net/mvgbe.c | 9 ++++++---
> 1 files changed, 6 insertions(+), 3 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
Your csh still thinks true is false. Write to your vendor today and
tell them that next year Configure ought to "rm /bin/csh" unless they
fix their blasted shell. :-)
- Larry Wall in Configure from the perl distribution
More information about the U-Boot
mailing list