Files
linux/drivers/gpu/drm/amd/amdgpu
Dan Carpenter 9f7e94af35 drm/amdgpu: Fix off by one in current_memory_partition_show()
The >= ARRAY_SIZE() should be > ARRAY_SIZE() to prevent an out of
bounds read.

Fixes: 012be6f22c ("drm/amdgpu: Add sysfs interfaces for NPS mode")
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-10-15 11:26:35 -04:00
..
2024-07-24 17:30:23 -04:00
2024-09-18 16:14:26 -04:00
2024-07-23 17:32:20 -04:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-07-24 17:30:23 -04:00
2024-07-24 17:30:23 -04:00
2024-10-08 09:43:48 -04:00
2024-10-08 09:43:48 -04:00
2022-05-04 09:53:12 -04:00
2023-08-07 16:35:38 -04:00
2022-05-04 10:43:54 -04:00
2024-06-27 17:34:40 -04:00
2022-05-10 17:53:11 -04:00
2023-03-15 18:45:26 -04:00
2023-03-15 18:45:26 -04:00
2023-08-30 15:00:27 -04:00
2022-03-22 10:53:39 -04:00
2024-06-19 18:25:58 -04:00
2023-08-31 16:34:05 -04:00