Re: [U-Boot] [PATCH v2] macb: fix compile warning

2011-06-09 Thread Reinhard Meyer
Dear Andreas Bießmann, > This patch fixes following compile warning: > > ---8<--- > macb.c: In function 'macb_write_hwaddr': > macb.c:525:2: warning: dereferencing type-punned pointer will break > strict-aliasing rules > --->8--- > > Signed-off-by: Andreas Bießmann Tested-by: Reinhard Meyer > ---

[U-Boot] [PATCH v2] macb: fix compile warning

2011-06-09 Thread Andreas Bießmann
This patch fixes following compile warning: ---8<--- macb.c: In function 'macb_write_hwaddr': macb.c:525:2: warning: dereferencing type-punned pointer will break strict-aliasing rules --->8--- Signed-off-by: Andreas Bießmann --- BEWARE! this patch is only compile tested! changes since v1: - u