diff options
author | Evan Quan <[email protected]> | 2022-05-07 14:54:44 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-05-10 17:53:13 -0400 |
commit | 663e48113136769814c913471fbb9ced080b0af2 (patch) | |
tree | f0b55653ee97a55aa1354b62e2206e1510036d0e /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | 0ae99221f3f73ff284a1db27dcd0d80f39f5b445 (diff) |
drm/amd/pm: suppress compile warning about possible unaligned accesses
Suppress the following compile warning:
In file included from drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_0_ppt.c:39:
>> drivers/gpu/drm/amd/amdgpu/../pm/inc/smu_v13_0_0_pptable.h:194:39:
warning: field overdrive_table within 'struct smu_13_0_0_powerplay_table' is
less aligned than 'struct smu_13_0_0_overdrive_table' and is usually due to
'struct smu_13_0_0_powerplay_table' being packed,
which can lead to unaligned accesses [-Wunaligned-access]
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Evan Quan <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions