Re: [PATCH] Fix RTAS watchdog driver temperature read functionality

2009-03-24 Thread Segher Boessenkool
Right, now turn it into a proper patch submission :-) if (result < 0) printk(KERN_WARNING "wdrtas: reading the thermal sensor " - "faild: %li\n", result); + "faild: %i\n", result); else temperature = ((tem

Re: [PATCH] Fix RTAS watchdog driver temperature read functionality

2009-03-24 Thread Benjamin Herrenschmidt
On Tue, 2009-03-24 at 12:45 +0100, Adrian Reber wrote: > On Tue, Mar 24, 2009 at 03:27:18PM +1100, Benjamin Herrenschmidt wrote: > > On Mon, 2009-03-16 at 13:35 +0100, Adrian Reber wrote: > > > Using the RTAS watchdog driver to read out the temperature crashes > > > on a PXCAB: > > > > > > Unable

Re: [PATCH] Fix RTAS watchdog driver temperature read functionality

2009-03-24 Thread Adrian Reber
On Tue, Mar 24, 2009 at 03:27:18PM +1100, Benjamin Herrenschmidt wrote: > On Mon, 2009-03-16 at 13:35 +0100, Adrian Reber wrote: > > Using the RTAS watchdog driver to read out the temperature crashes > > on a PXCAB: > > > > Unable to handle kernel paging request for data at address 0xfe347b50 > >

Re: [PATCH] Fix RTAS watchdog driver temperature read functionality

2009-03-23 Thread Benjamin Herrenschmidt
On Mon, 2009-03-16 at 13:35 +0100, Adrian Reber wrote: > Using the RTAS watchdog driver to read out the temperature crashes > on a PXCAB: > > Unable to handle kernel paging request for data at address 0xfe347b50 > Faulting instruction address: 0xc001af64 > Oops: Kernel access of bad area,