diff options
author | 2017-08-09 14:19:06 +0300 | |
---|---|---|
committer | 2017-08-09 10:15:52 -0400 | |
commit | aadd41485bb227a16f964833a4fd55c091f4a729 (patch) | |
tree | b07aa758f657e93b9877d59c2b8b296a8b69f23f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: bridge: dw-hdmi: constify snd_pcm_ops structures (diff) | |
download | wireguard-linux-aadd41485bb227a16f964833a4fd55c091f4a729.tar.xz wireguard-linux-aadd41485bb227a16f964833a4fd55c091f4a729.zip |
drm: Shift wrap bug in create_in_format_blob()
"plane->format_count" can go up to 64. (It's capped in
drm_universal_plane_init().) So we should be using ULL type instead of
int here to prevent shift wrapping.
Fixes: db1689aa61bd ("drm: Create a format/modifier blob")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170809111906.4rv3hzritctfktv3@mwanda
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions