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