[flashrom] [PATCH] Add Suport for Dr.Kaiser PC-Waechter

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Sep 4 13:51:07 CEST 2009


On 04.09.2009 03:09, Stefan Reinauer wrote:
> Jörg Fischer wrote:
>   
>> physmap.c: In function 'rdmsr':
>> physmap.c:146: error: dereferencing type-punned pointer will break
>> strict-aliasing rules
>> make: *** [physmap.o] Fehler 1
>>     
> Does the following patch fix compilation for you?
>
> fix for gcc 4.4 strict aliasing rules.
>
> Signed-off-by: Stefan Reinauer <stepan at coresystems.de>

Tested, works.
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the flashrom mailing list