commit | c13e1c05b22b504bf0d72fc762a02be37df2d1b0 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Thu Oct 08 20:00:58 2015 +0100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Oct 09 08:03:03 2015 +1100 |
tree | 796f88a14c65ab3de13d3044a1d02bd419c12100 | |
parent | f78f7ed72632a0794161f290b89e2cd752f55202 [diff] |
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: Colin Ian King <colin.king@canonical.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>