[Crash-utility] [PATCH] Fix compile warnings

Bernhard Walle bwalle at suse.de
Fri Nov 9 22:08:01 UTC 2007


* Dave Anderson <anderson at redhat.com> [2007-11-09 23:11]:
> Bernhard Walle wrote:
>> This fixes compiler warnings with
>> -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector \
>>         -fno-builtin-memset -fno-strict-aliasing
>> Yes, for the one in get_lkcd_regs_for_cpu_v8() you can blame myself.
>
> The patch to calculate_load_order_v2() isn't compiler related,
> right?  (it seems ok, but interesting that it's never been a
> problem...)

It is. "store" was uninitialised and the compiler complained.


Thanks,
   Bernhard




More information about the Crash-utility mailing list