aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-11-30 04:53:34 -0500
committerWolfram Sang <wsa@the-dreams.de>2015-12-14 04:59:05 -0500
commit2d5d23b96a4a660d0d04455150570c6257d4ce25 (patch)
treeb5b2517431452c05dd47f5be026f9ce030ce41bf /tools/perf/scripts/python/export-to-postgresql.py
parent1ff49b34bfd1261277d2c97ec48efb067b87f5e5 (diff)
i2c: uniphier: error out if bus speed is zero
There is code to divide by "bus_speed" some lines below. To eliminate the possibility of division by zero, bail out if "clock-frequency" is specified as zero. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions