Skip to content
Commit c13e1c05 authored by Colin Ian King's avatar Colin Ian King Committed by Michael Ellerman
Browse files

powerpc/pseries/hvcserver: don't memset pi_buff if it is null



pi_buff is being memset before it is sanity checked. Move the
memset after the null pi_buff sanity check to avoid an oops.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent f78f7ed7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment