diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-11-22 14:09:48 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-11-23 11:16:58 +0200 |
commit | d1dd99083d187f64e5f4e507dcebf0d6228b901a (patch) | |
tree | c13381be314c20dac295b1f42b0aa5684f9a5372 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 67630bacae2354c3ae20b10cf25bc7e274882200 (diff) |
drm/i915/hti: avoid theoretically possible negative shift
If phy is PHY_NONE, the shift to register bits becomes negative. Check
and warn about this.
Reported-by: coverity-bot <keescook@chromium.org>
References: https://lore.kernel.org/r/202211180848.D39006C@keescook
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221122120948.3436180-1-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions