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

Stephen Rothwell sfr at canb.auug.org.au
Thu Jan 14 01:27:05 EST 2010


Hi Michael,

On Wed, 13 Jan 2010 18:10:56 +1100 (EST) Michael Ellerman <michael at ellerman.id.au> 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 handle_tape_event() when we access the non-initialised
> completion.
> 
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>

*blush*

Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100114/f5303325/attachment.pgp>


More information about the Linuxppc-dev mailing list