[U-Boot] [PATCH] at91_emac: fix compile warning

Andreas Bießmann andreas.devel at googlemail.com
Sun Jun 12 12:08:09 CEST 2011


Dear Andreas Bießmann,

Am 09.06.2011 um 12:22 schrieb Andreas Bießmann:

> This patch removes the warning
> 
> ---8<---
> at91_emac.c: In function 'at91emac_write_hwaddr':
> at91_emac.c:487:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
> --->8---
> 
> Signed-off-by: Andreas Bießmann <andreas.devel at gmail.com>
> ---
> BEWARE! This patch is only compile tested!

The patch was tested on real hardware and it works.

regards

Andreas Bießmann


More information about the U-Boot mailing list