misc: tegra-profiler: fix coverity issue
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Tue, 28 Apr 2015 06:04:15 +0000 (10:04 +0400)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 29 May 2015 21:28:58 +0000 (14:28 -0700)
commitc0854f72231631dbc278572ecb5d568053ff97a8
treeb10ba2160faaecf6c1a27cd2b1073f38bb34cbe1
parent5edae96160793d2721ae52f30ec2d2e771e0f067
misc: tegra-profiler: fix coverity issue

Fix Coverity issue of out-of-bounds.
Coverity id: 29855

Bug 1416640

Change-Id: I112daaad55c1a2de9fdb411a0591e4ed7bf50e6e
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/730896
(cherry picked from commit 09c1b2add13aa7c6f4410c874ddad936913f5d19)
Reviewed-on: http://git-master/r/748092
GVS: Gerrit_Virtual_Submit
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/misc/tegra-profiler/power_clk.c