]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix 32bit x86 compilation warning
authorAlex Xie <AlexBin.Xie@amd.com>
Thu, 30 Mar 2017 17:30:00 +0000 (13:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 19:16:00 +0000 (15:16 -0400)
commit1a6c7b7d346a121b3ab199d09fc98c0fca9f9c54
tree94f7d4526fe19a32643308d6e00d0fc5442af277
parent974b468af65b530613693651d0bd1b270227e4e4
drm/amdgpu: Fix 32bit x86 compilation warning

drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c:187:2: warning: right shift count >= width of type [enabled by default]
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c:173:2: warning: right shift count >= width of type [enabled by default]
drivers/gpu/drm/amd/amdgpu/vega10_ih.c:106:3: warning: right shift count >= width of type [enabled by default]

v2: Add a space between "&" and "0xff"

Reported by: kbuild-all@01.org

Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/vega10_ih.c