diff options
author | 2013-04-17 17:12:17 +0000 | |
---|---|---|
committer | 2013-04-25 00:34:43 +0800 | |
commit | 99871a714b0a9429e960629fbc2c6c20c57ea484 (patch) | |
tree | 2d30c5e08ce08c7b483f2ad1630d6ec574e57731 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | thermal: cpu_cooling: update kernel-doc comment for cpufreq_cooling_unregister (diff) | |
download | linux-dev-99871a714b0a9429e960629fbc2c6c20c57ea484.tar.xz linux-dev-99871a714b0a9429e960629fbc2c6c20c57ea484.zip |
thermal: cpu_cooling: use snprintf instead of sprintf
Limit the amount of bytes written to dev_name by
secure writing with snprintf.
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions