summaryrefslogtreecommitdiff
path: root/arch/powerpc/perf/callchain.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2015-10-08 19:00:58 (GMT)
committerMichael Ellerman <mpe@ellerman.id.au>2015-10-08 21:03:03 (GMT)
commitc13e1c05b22b504bf0d72fc762a02be37df2d1b0 (patch)
tree796f88a14c65ab3de13d3044a1d02bd419c12100 /arch/powerpc/perf/callchain.c
parentf78f7ed72632a0794161f290b89e2cd752f55202 (diff)
downloadlinux-c13e1c05b22b504bf0d72fc762a02be37df2d1b0.tar.xz
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>
Diffstat (limited to 'arch/powerpc/perf/callchain.c')
0 files changed, 0 insertions, 0 deletions