diff options
author | 2015-11-30 18:53:36 +0900 | |
---|---|---|
committer | 2015-12-14 10:59:46 +0100 | |
commit | 51549c087f2eb5788de48a7278c3eb169d66f554 (patch) | |
tree | aaca1adeded14db1cd16b16d8e67595c4211f890 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: uniphier_f: error out if clock rate is zero (diff) | |
download | wireguard-linux-51549c087f2eb5788de48a7278c3eb169d66f554.tar.xz wireguard-linux-51549c087f2eb5788de48a7278c3eb169d66f554.zip |
i2c: uniphier_f: 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