[Crash-utility] [PATCH] Fix compile warnings

Dave Anderson anderson at redhat.com
Fri Nov 9 22:22:06 UTC 2007


Bernhard Walle wrote:
> * 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.

Oh yeah -- of course.

Actually I'm amazed this has never caused a problem.

Queued...

Thanks,
   Dave






More information about the Crash-utility mailing list