diff options
| author | Colin Ian King <[email protected]> | 2025-05-22 13:15:12 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-06-13 14:25:37 +0000 |
| commit | 80626ae6ffe57917915c6e6d8ea1e908689954fd (patch) | |
| tree | 8d034c023e3efc28b09f7c7f699ae838a43f597c /tools/perf/scripts/python | |
| parent | drm/mgag200: Do not include <linux/export.h> (diff) | |
| download | kernel-80626ae6ffe57917915c6e6d8ea1e908689954fd.tar.gz kernel-80626ae6ffe57917915c6e6d8ea1e908689954fd.zip | |
drm/nouveau/gsp: Fix potential integer overflow on integer shifts
The left shift int 32 bit integer constants 1 is evaluated using 32 bit
arithmetic and then assigned to a 64 bit unsigned integer. In the case
where the shift is 32 or more this can lead to an overflow. Avoid this
by shifting using the BIT_ULL macro instead.
Fixes: 6c3ac7bcfcff ("drm/nouveau/gsp: support deeper page tables in COPY_SERVER_RESERVED_PDES")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Danilo Krummrich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
