diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-23 12:59:34 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-24 10:09:56 +0000 |
| commit | 0f8f8a64300092852b9361cd835395ee71e6a7d6 (patch) | |
| tree | 51bfc5237890940714d1bc12dec0d37ee5086edf /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 8c47eb86679cca23860c6fc64d5190fd28755da6 (diff) | |
| download | linux-0f8f8a64300092852b9361cd835395ee71e6a7d6.tar.gz linux-0f8f8a64300092852b9361cd835395ee71e6a7d6.zip | |
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 <chris@chris-wilson.co.uk>
Cc: Ramalingam C <ramalingam.c@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200123125934.1401755-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
