diff options
author | Viresh Kumar <[email protected]> | 2024-04-22 08:58:51 +0530 |
---|---|---|
committer | Viresh Kumar <[email protected]> | 2024-04-23 11:43:22 +0530 |
commit | d2059d3b548409905b20b4f52495bffbd7c8da8b (patch) | |
tree | 75ced25be7e6b9fe974a2aecbaa35ad8597bb32e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 09d0aaa0ae9c80ff9569393b206226c1008801b1 (diff) |
cpufreq: sun50i: Fix build warning around snprint()
The Sun50i driver generates a warning with W=1:
warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=]
Fix it by allocating a big enough array to print an integer.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Viresh Kumar <[email protected]>
Acked-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Tested-by: Andre Przywara <[email protected]>
Reviewed-by: Julian Calaby <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions