diff options
author | Chris Wilson <[email protected]> | 2020-01-23 12:59:34 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2020-02-11 11:49:45 +0200 |
commit | 051c89cf4ac487e795d87e6f3b9e0ff788da8fb4 (patch) | |
tree | b153b1681b30da7f3e831554a9d206266bb12067 /tools/perf/util/trace-event-scripting.c | |
parent | 1a9629d189f57670afd31f1aea4e59b7270d2d89 (diff) |
drm/i915/gem: Detect overflow in calculating dumb buffer size
To multiply 2 u32 numbers to generate a u64 in C requires a bit of
forewarning for the compiler.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Ramalingam C <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: [email protected]
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 0f8f8a64300092852b9361cd835395ee71e6a7d6)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions