Skip to contentSkip to conversation

drm/amd/dc: resource: fix semicolon.cocci warnings (fwd)

PATCH Superseded Julia Lawall 3 participants 3 messages Feb 14, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/amd/dc: resource: fix semicolon.cocci warnings (fwd)

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

---

v2: make subject line unique

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add

dc display driver

 dc_resource.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c +1 -1
@@ -135,7 +135,7 @@ static void update_num_audio(
 		break;
 	default:
 		DC_ERR("DC: unexpected audio fuse!\n");
-	};
+	}
 }
 
 bool resource_construct(

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

maintainer Acked-by on v2 1/1
#1 lore raw

Am 14.02.2017 um 07:21 schrieb Julia Lawall:

Quoted 7 lines

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Thanks for letting us know about those typos.

Regards,
Christian.

Quoted 15 lines

---

v2: make subject line unique

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add

dc display driver

  dc_resource.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c static void update_num_audio( · line 141

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c +1 -1
@@ -135,7 +135,7 @@ static void update_num_audio(
  		break;
  	default:
  		DC_ERR("DC: unexpected audio fuse!\n");
-	};
+	}
  }
 
  bool resource_construct(

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

Reviewed-by
#2 lore raw

Thanks for these fixes. I'll merge them.

Harry

Quoted 38 lines · Christian König

Am 14.02.2017 um 07:21 schrieb Julia Lawall:

Quoted 7 lines

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Thanks for letting us know about those typos.

Regards,
Christian.

Quoted 22 lines

---

v2: make subject line unique

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add

dc display driver

  dc_resource.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c +1 -1
@@ -135,7 +135,7 @@ static void update_num_audio(
          break;
      default:
          DC_ERR("DC: unexpected audio fuse!\n");
-    };
+    }
  }
 
Quoted 3 lines

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c static void update_num_audio( · line 141

Quoted 1 line
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c +0 -0
  bool resource_construct(

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