diff options
| author | Masahiro Yamada <[email protected]> | 2015-11-30 18:53:34 +0900 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2015-12-14 10:59:05 +0100 |
| commit | 2d5d23b96a4a660d0d04455150570c6257d4ce25 (patch) | |
| tree | b5b2517431452c05dd47f5be026f9ce030ce41bf /scripts/gdb/vmlinux-gdb.py | |
| parent | 1ff49b34bfd1261277d2c97ec48efb067b87f5e5 (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 <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions