summaryrefslogtreecommitdiffstats
path: root/arch/alpha/math-emu
diff options
context:
space:
mode:
authorAnju T Sudhakar <anju@linux.vnet.ibm.com>2017-12-11 11:28:37 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-19 23:04:44 +1100
commit8b4e6deaff7822c76c94336c40f8d1f244c6f6ed (patch)
treeecf21a363309204ca76d5a41fa16c6fdc8f4ce36 /arch/alpha/math-emu
parented8e443feee2bde8539f865092289eeaf0681c3f (diff)
downloadop-kernel-dev-8b4e6deaff7822c76c94336c40f8d1f244c6f6ed.zip
op-kernel-dev-8b4e6deaff7822c76c94336c40f8d1f244c6f6ed.tar.gz
powerpc/perf: Pass struct imc_events as a parameter to imc_parse_event()
Remove the allocation of struct imc_events from imc_parse_event(). Instead pass imc_events as a parameter to imc_parse_event(), which is a pointer to a slot in the array allocated in update_events_in_group(). Reported-by: Dan Carpenter ("powerpc/perf: Fix a sizeof() typo so we allocate less memory") Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/alpha/math-emu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud