aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2022-05-18 14:33:14 +0300
committerJani Nikula <[email protected]>2022-05-19 11:00:46 +0300
commit230fb39ff7e07bd0324c87acf08dd2c9b0bbcea8 (patch)
treed98cc4da24e2b35b07de5efa62d2039007527f3a /tools/perf/scripts/python/Perf-Trace-Util
parentd6774b8c3c5813aa541c9148f641d3d8d4b296d2 (diff)
drm/i915/reg: fix undefined behavior due to shift overflowing the constant
Use REG_GENMASK() and REG_FIELD_PREP() to avoid errors due to -fsanitize=shift. References: https://lore.kernel.org/r/[email protected] Reported-by: Borislav Petkov <[email protected]> Reported-by: Ruiqi GONG <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions