diff options
| author | Christian Gromm <christian.gromm@microchip.com> | 2018-05-08 11:44:51 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-08 13:41:48 +0200 |
| commit | ceb1edc2a0a52b6f4285fbfc8f29a42b6109e52d (patch) | |
| tree | 7980ebe0dd39fa121e9bd195d459b29475be4233 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 071e5069cbc47385be2e66a6b6ac9ab17a403b1a (diff) | |
| download | linux-ceb1edc2a0a52b6f4285fbfc8f29a42b6109e52d.tar.gz linux-ceb1edc2a0a52b6f4285fbfc8f29a42b6109e52d.zip | |
staging: most: i2c: prevent division by zero
This prevents division by zero scan_rate.
The zero scan_rate does not need any special action as it actually means
"never poll again".
Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
