]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Stop unintentional sign extension in pmu_init
authorAaron Lindsay OS <aaron@os.amperecomputing.com>
Thu, 21 Feb 2019 18:17:45 +0000 (18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:45 +0000 (18:17 +0000)
commit67da43d668320e1bcb0a0195aaf2de4ff2a001a0
treed808371d315615bc57ba24de509eb205bcf6cfe5
parentcff21316c666c8053b1f425577e324038d0ca30d
target/arm: Stop unintentional sign extension in pmu_init

This was introduced by
    commit bf8d09694ccc07487cd73d7562081fdaec3370c8
    target/arm: Don't clear supported PMU events when initializing PMCEID1
and identified by Coverity (CID 1398645).

Signed-off-by: Aaron Lindsay <aaron@os.amperecomputing.com>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20190219144621.450-1-aaron@os.amperecomputing.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c