diff options
author | 2024-01-17 23:53:53 -0800 | |
---|---|---|
committer | 2024-01-22 17:13:25 -0500 | |
commit | 3e22174603daeddeb98f5d7f317cf4b3d7afbef8 (patch) | |
tree | ccd27b1f05cb7533550f6bf7bc4074bc7309dff0 /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | |
parent | drm/amdgpu: Enable seq64 manager and fix bugs (diff) | |
download | linux-rng-3e22174603daeddeb98f5d7f317cf4b3d7afbef8.tar.xz linux-rng-3e22174603daeddeb98f5d7f317cf4b3d7afbef8.zip |
drm/amdgpu: fix wrong sizeof argument
voltage_parameters is a point to a struct of type
SET_VOLTAGE_PARAMETERS_V1_3. Passing just voltage_parameters would
not print the right size of the struct variable. So we need to pass
*voltage_parameters to sizeof().
Fixes: 4630d5031cd8 ("drm/amdgpu: check PS, WS index")
Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h')
0 files changed, 0 insertions, 0 deletions