summaryrefslogtreecommitdiff
path: root/timer.h
AgeCommit message (Expand)AuthorFilesLines
2015-06-05netsniff-ng, nlmsg: add further rtnl route type messages to dissectorVadim Kochan1-0/+2
2013-06-04timer: add time management functionsDaniel Borkmann1-0/+9
value='0' selected='selected'>unified
authorColin Ian King <colin.king@canonical.com>2016-04-25 13:03:15 +0100
committerLen Brown <len.brown@intel.com>2016-12-01 01:33:17 -0500
commit0a91e551527a7b931d36f4822b97e70536bd2bb3 (patch)
tree925a0597f1a2185b8265f91c39745a41c786f506
parent01a67adfc5d73d24e999d9cf65b5b8a6687187b8 (diff)
tools/power turbostat: fix error case overflow read of slm_freq_table[]
When i >= SLM_BCLK_FREQS, the frequency read from the slm_freq_table is off the end of the array because msr is set to 3 rather than the actual array index i. Set i to 3 rather than msr to fix this. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat
-rw-r--r--tools/power/x86/turbostat/turbostat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c