misc: tegra-profiler: fix coverity defect
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Sat, 4 Jun 2016 04:27:33 +0000 (08:27 +0400)
committerIgor Nabirushkin <inabirushkin@nvidia.com>
Tue, 8 Aug 2017 14:19:47 +0000 (17:19 +0300)
commit896d0405b05fc84aee67daf839cb8dab100f5fbc
tree3a3eddf6097f679615ff1ae1924358efb2a41d53
parent05c3f5b38e6609e14cc8139b724a510f894f6eaa
misc: tegra-profiler: fix coverity defect

Fix coverity defect "Out-of-bounds access".

Coverity ID 29588

Bug 200192567

Change-Id: I8d1057d29216eeabdd24686fa12a52d7e2a220d4
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/1171550
(cherry picked from commit 7c76afae5c3fcac4c7365d3fd1fb5706e2b64446)
Reviewed-on: http://git-master/r/1249579
(cherry picked from commit 2ffb50ff95239cf489672c30f1ba40014e780da5)
drivers/misc/tegra-profiler/armv8_pmu.c