Re: what's in parisc-2.6.git

"Carlos O'Donell" <[email protected]> Sat, 20 Oct 2007 12:44:32 -0400
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On 10/19/07, John David Anglin <[email protected]> wrote:
> > Just temporarily. The workflow wasn't really working for me, and wasn't
> > motivating me to generate diffs. I'll be putting more -pa testkernels
> > up.
>
> Ok, I saw you made a lot of updates to parisc-2.6, so I cloned it
> this evening.  Noticed a small warning/bug from asm-parisc/rtc.h.
>
> The call to get_rtc_time in get_rtc_ss doesn't check the return
> value from get_rtc_time for RTC_BATT_BAD.  As a result, h may
> be used unininitialized.  I guess this only happens if the RTC
> battery is bad...

GCC head is really great at correctly noticing uninitialized uses of
variables. I'm tempted to compile the kernel with head just to fix
these. I just fixed 2 such cases in gdb.

Cheers,
Carlos.