Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 142a4e90 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: fix missed variable sized access



I missed this when I fixed up this file.

Noticed-by: default avatarMathias Fröhlich <Mathias.Froehlich@gmx.net>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0eb3448a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1084,7 +1084,7 @@ int r600_parse_extended_power_table(struct radeon_device *rdev)
				rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].dclk =
					le16_to_cpu(uvd_clk->usDClkLow) | (uvd_clk->ucDClkHigh << 16);
				rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v =
					le16_to_cpu(limits->entries[i].usVoltage);
					le16_to_cpu(entry->usVoltage);
				entry = (ATOM_PPLIB_UVD_Clock_Voltage_Limit_Record *)
					((u8 *)entry + sizeof(ATOM_PPLIB_UVD_Clock_Voltage_Limit_Record));
			}