diff options
author | 2013-07-15 15:38:52 -0700 | |
---|---|---|
committer | 2013-07-16 08:27:25 +0800 | |
commit | 94e791f522595e2d5276e6d27a5b3b57f4e1cd8d (patch) | |
tree | d373b5c406fd2bbdbed68182caf91b13f00cc851 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Thermal: x86_pkg_temp: fix krealloc() misuse in in pkg_temp_thermal_device_add() (diff) | |
download | wireguard-linux-94e791f522595e2d5276e6d27a5b3b57f4e1cd8d.tar.xz wireguard-linux-94e791f522595e2d5276e6d27a5b3b57f4e1cd8d.zip |
Thermal: x86_pkg_temp: Limit number of pkg temp zones
Although it is unlikley that physical package id is set to some
arbitary number, it is better to prevent in anycase. Since package
temp zones use this in thermal zone type and for allocation, added
a limit.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions