aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorMichael Kelley <[email protected]>2021-12-27 19:31:55 -0800
committerWei Liu <[email protected]>2021-12-28 14:18:47 +0000
commite1878402ab2dca12d1426f2fea39757943f3332c (patch)
tree621bef57c0b99a6946ddab99b5eb1c39ec1f21d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdb3c65bc3a1308db8c914b2bf477b5a36005c3d3 (diff)
x86/hyperv: Fix definition of hv_ghcb_pg variable
The percpu variable hv_ghcb_pg is incorrectly defined. The __percpu qualifier should be associated with the union hv_ghcb * (i.e., a pointer), not with the target of the pointer. This distinction makes no difference to gcc and the generated code, but sparse correctly complains. Fix the definition in the interest of general correctness in addition to making sparse happy. No functional change. Fixes: 0cc4f6d9f0b9 ("x86/hyperv: Initialize GHCB page in Isolation VM") Reported-by: kernel test robot <[email protected]> Signed-off-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions