Skip to contentSkip to conversation

drm/amd/amdgpu: fix build warning

PATCH In review Roger He 2 participants 2 messages Aug 25, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Roger He

author
#0 lore raw

PATCH 1/1 drm/amd/amdgpu: fix build warning

Change-Id I335123d3f77b11adc65b29463e12f825d19ca382
---
 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 2 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c +1 -1
index a7351ba..6c8040e 100644
@@ -124,7 +124,7 @@ static void gfxhub_v1_0_init_tlb_regs(struct amdgpu_device *adev)
 
 static void gfxhub_v1_0_init_cache_regs(struct amdgpu_device *adev)
 {
-	uint32_t tmp, field;
+	uint32_t tmp;
 
 	/* Setup L2 cache */
 	tmp = RREG32_SOC15(GC, 0, mmVM_L2_CNTL);
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +1 -1
index 2a6fa73..74cb647 100644
@@ -138,7 +138,7 @@ static void mmhub_v1_0_init_tlb_regs(struct amdgpu_device *adev)
 
 static void mmhub_v1_0_init_cache_regs(struct amdgpu_device *adev)
 {
-	uint32_t tmp, field;
+	uint32_t tmp;
 
 	/* Setup L2 cache */
 	tmp = RREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL);
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1503654329-6843-1-git-send-email-Hongbo.He-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw

Am 25.08.2017 um 11:45 schrieb Roger He:

Quoted 2 lines
Change-Id I335123d3f77b11adc65b29463e12f825d19ca382
Quoted 23 lines
---
  drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 2 +-
  drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c  | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c +1 -1
index a7351ba..6c8040e 100644
@@ -124,7 +124,7 @@ static void gfxhub_v1_0_init_tlb_regs(struct amdgpu_device *adev)
 
  static void gfxhub_v1_0_init_cache_regs(struct amdgpu_device *adev)
  {
-	uint32_t tmp, field;
+	uint32_t tmp;
 
  	/* Setup L2 cache */
  	tmp = RREG32_SOC15(GC, 0, mmVM_L2_CNTL);
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +0 -0
index 2a6fa73..74cb647 100644

drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c static void mmhub_v1_0_init_tlb_regs(struct amdgpu_device *adev) · line 144

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +1 -1
@@ -138,7 +138,7 @@ static void mmhub_v1_0_init_tlb_regs(struct amdgpu_device *adev)
 
  static void mmhub_v1_0_init_cache_regs(struct amdgpu_device *adev)
  {
-	uint32_t tmp, field;
+	uint32_t tmp;
 
  	/* Setup L2 cache */
  	tmp = RREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL);

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx