mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] UNCLEAN: fix semicolon.cocci warnings
@ 2019-09-21  6:20 Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2019-09-21  6:20 UTC (permalink / raw)
  To: Lucas Stach, Andrzej Hajda
  Cc: Ezequiel Garcia, Laurent Pinchart, David Airlie, Daniel Vetter,
	dri-devel, linux-kernel, kbuild-all

From: kbuild test robot <lkp@intel.com>

Remove unneeded semicolons.

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

Fixes: 841b04751dc0 ("UNCLEAN: add HDMI TX driver")
CC: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

tree:   git://git.infradead.org/users/ezequielg/linux hantro-vpu-postproc-for-5.5-2
head:   54ed616fb9016b89b7bcdb9c8c8bd5f0532c0def
commit: 841b04751dc0a67ccbdc07b44655d9ad35e61ae7 [358/511] UNCLEAN: add HDMI TX driver
:::::: branch date: 5 hours ago
:::::: commit date: 3 days ago

 util.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/gpu/drm/bridge/cdn-hdp/mailbox-if/util.c
+++ b/drivers/gpu/drm/bridge/cdn-hdp/mailbox-if/util.c
@@ -148,7 +148,7 @@ u32 internal_vmkmsg(volatile u8 *dest, i
 		if (size > 0) {
 			internal_itobe(va_arg(vl, int), dest, size);
 			dest += size;
-			len += size;;
+			len += size;
 		} else {
 			memcpy((void *)dest, va_arg(vl, void *), -size);
 			dest -= size;
@@ -214,7 +214,7 @@ void internal_vreadmsg(state_struct *sta
 			default:
 				pr_warn("Warning. Unsupported variable size.\n");
 				memcpy(ptr, src, size);
-			};
+			}

 			src += size;
 		} else {

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH] UNCLEAN: fix semicolon.cocci warnings
@ 2019-09-21  6:19 Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2019-09-21  6:19 UTC (permalink / raw)
  To: Lucas Stach
  Cc: Ezequiel Garcia, Andrzej Hajda, Laurent Pinchart, David Airlie,
	Daniel Vetter, dri-devel, linux-kernel, kbuild-all

From: kbuild test robot <lkp@intel.com>

 Remove unneeded semicolons.

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

Fixes: 841b04751dc0 ("UNCLEAN: add HDMI TX driver")
CC: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

tree:   git://git.infradead.org/users/ezequielg/linux hantro-vpu-postproc-for-5.5-2
head:   54ed616fb9016b89b7bcdb9c8c8bd5f0532c0def
commit: 841b04751dc0a67ccbdc07b44655d9ad35e61ae7 [358/511] UNCLEAN: add HDMI TX driver
:::::: branch date: 5 hours ago
:::::: commit date: 3 days ago

 API_DPTX.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/drivers/gpu/drm/bridge/cdn-hdp/mailbox-if/API_DPTX.c
+++ b/drivers/gpu/drm/bridge/cdn-hdp/mailbox-if/API_DPTX.c
@@ -606,7 +606,7 @@ CDN_API_STATUS CDN_API_DPTX_Set_VIC(stat
 		break;
 	default:
 		colorDepth = BCS_8;
-	};
+	}

 	DP_FRAMER_PXL_REPR_Param = (pxlencformat << 8) + colorDepth;

@@ -629,7 +629,7 @@ CDN_API_STATUS CDN_API_DPTX_Set_VIC(stat
 		break;
 	default:
 		tempForMisc = 0;
-	};
+	}

 	switch (bitsPerPixel) {
 	case 6:
@@ -654,7 +654,7 @@ CDN_API_STATUS CDN_API_DPTX_Set_VIC(stat
 	default:
 		tempForMisc2 = 1;

-	};
+	}

 	oddEvenV_Total = vic_table[vicMode][V_TOTAL] % 2;
 	oddEvenV_Total = 1 - oddEvenV_Total;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-21  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-21  6:20 [PATCH] UNCLEAN: fix semicolon.cocci warnings Julia Lawall
  -- strict thread matches above, loose matches on Subject: below --
2019-09-21  6:19 Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®