Re: [PATCH 1/1] powerpc/iseries: Initialise on-stack completion

2010-01-13 Thread Stephen Rothwell
Hi Michael, On Wed, 13 Jan 2010 18:10:56 +1100 (EST) Michael Ellerman wrote: > > get_viotape_info() declares a vio_waitevent on the stack, which > contains a completion, but never initialises the completion. > > I have no idea how this ever worked, and on recent kernels it causes > an oops in h

[PATCH 1/1] powerpc/iseries: Initialise on-stack completion

2010-01-12 Thread Michael Ellerman
get_viotape_info() declares a vio_waitevent on the stack, which contains a completion, but never initialises the completion. I have no idea how this ever worked, and on recent kernels it causes an oops in handle_tape_event() when we access the non-initialised completion. Signed-off-by: Michael El