All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [PATCH] BACKPORT: FROMLIST: drm/mediatek: fix semicolon.cocci warnings
Date: Sat, 11 Dec 2021 08:12:11 +0800	[thread overview]
Message-ID: <20211211001211.GA28454@fca31352be42> (raw)

[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]

CC: kbuild-all(a)lists.01.org
TO: cros-kernel-buildreports(a)googlegroups.com
TO: Guenter Roeck <groeck@google.com>

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

drivers/gpu/drm/mediatek/mtk_dp.c:1980:2-3: Unneeded semicolon
drivers/gpu/drm/mediatek/mtk_dp.c:2014:4-5: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Jitao Shi <jitao.shi@mediatek.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   3246f4ed0d71058d829b29bccc2454d305bec8ea
commit: 9fc1f39630d4af841f63428a2cc6cdf6834c1865 [56/90] BACKPORT: FROMLIST: drm/mediatek: Add mt8195 DisplayPort driver
:::::: branch date: 10 days ago
:::::: commit date: 10 days ago

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

--- a/drivers/gpu/drm/mediatek/mtk_dp.c
+++ b/drivers/gpu/drm/mediatek/mtk_dp.c
@@ -1977,7 +1977,7 @@ static int mtk_dp_train_start(struct mtk
 	default:
 		mtk_dp->train_info.link_rate = MTK_DP_LINKRATE_HBR3;
 		break;
-	};
+	}
 
 	max_link_rate = link_rate;
 	for (train_limit = 0; train_limit <= 6; ++train_limit) {
@@ -2011,7 +2011,7 @@ static int mtk_dp_train_start(struct mtk
 				break;
 			default:
 				return -EINVAL;
-			};
+			}
 		} else if (!mtk_dp->train_info.eq_done) {
 			lane_count /= 2;
 			if (lane_count == 0)

                 reply	other threads:[~2021-12-11  0:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211211001211.GA28454@fca31352be42 \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.