diff options
author | 2014-08-08 18:50:18 +0100 | |
---|---|---|
committer | 2014-08-14 21:24:29 +0200 | |
commit | c11cda52193dfa459dfea38f00b19bc9325fa922 (patch) | |
tree | bcfbe1fe91624fc1e1ac966108a58218cd0be2cf /tools/perf/scripts/python | |
parent | drm: Docbook fixes (diff) | |
download | linux-dev-c11cda52193dfa459dfea38f00b19bc9325fa922.tar.xz linux-dev-c11cda52193dfa459dfea38f00b19bc9325fa922.zip |
drm: Don't return 0 for a value used as a denominator
Static analysis will be unhappy if a function can theoretically return
0 and we're trying to divide by that value.
Mark that case that cannot occur as a BUG() instead.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions