linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Shawn Landden <shawn@git.icu>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	"Gustavo A . R . Silva" <gustavo@embeddedor.com>,
	Joe Perches <joe@perches.com>, Andy Whitcroft <apw@canonical.com>,
	Shawn Landden <shawn@git.icu>
Subject: [PATCH] fix semicolon.cocci warnings
Date: Tue, 19 Mar 2019 18:34:36 +0800	[thread overview]
Message-ID: <20190319103436.GA43269@lkp-hsx03> (raw)
In-Reply-To: <20190316033841.7659-1-shawn@git.icu>

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

drivers/media/dvb-frontends/drx39xyj/drxj.c:11123:48-49: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11124:48-49: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11125:47-48: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11126:47-48: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11127:48-49: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11128:40-41: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11139:40-41: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11276:39-40: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11278:40-41: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11279:40-41: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11313:40-41: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11314:40-41: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11232:40-41: Unneeded semicolon
drivers/media/dvb-frontends/drx39xyj/drxj.c:11233:40-41: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 5cf7e99ecb7d ("Use fall-through attribute rather than magic comments")
CC: Shawn Landden <shawn@git.icu>
Signed-off-by: kbuild test robot <lkp@intel.com>
---

url:    https://github.com/0day-ci/linux/commits/Shawn-Landden/Use-fall-through-attribute-rather-than-magic-comments/20190318-194548

 drxj.c |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -11120,12 +11120,12 @@ ctrl_power_mode(struct drx_demod_instanc
 				goto rw_error;
 			}
 			break;
-		case DRX_STANDARD_PAL_SECAM_BG:	__fallthrough;;
-		case DRX_STANDARD_PAL_SECAM_DK:	__fallthrough;;
-		case DRX_STANDARD_PAL_SECAM_I:	__fallthrough;;
-		case DRX_STANDARD_PAL_SECAM_L:	__fallthrough;;
-		case DRX_STANDARD_PAL_SECAM_LP:	__fallthrough;;
-		case DRX_STANDARD_NTSC:	__fallthrough;;
+		case DRX_STANDARD_PAL_SECAM_BG:	__fallthrough;
+		case DRX_STANDARD_PAL_SECAM_DK:	__fallthrough;
+		case DRX_STANDARD_PAL_SECAM_I:	__fallthrough;
+		case DRX_STANDARD_PAL_SECAM_L:	__fallthrough;
+		case DRX_STANDARD_PAL_SECAM_LP:	__fallthrough;
+		case DRX_STANDARD_NTSC:	__fallthrough;
 		case DRX_STANDARD_FM:
 			rc = power_down_atv(demod, ext_attr->standard, true);
 			if (rc != 0) {
@@ -11136,7 +11136,7 @@ ctrl_power_mode(struct drx_demod_instanc
 		case DRX_STANDARD_UNKNOWN:
 			/* Do nothing */
 			break;
-		case DRX_STANDARD_AUTO:	__fallthrough;;
+		case DRX_STANDARD_AUTO:	__fallthrough;
 		default:
 			return -EIO;
 		}
@@ -11229,8 +11229,8 @@ ctrl_set_cfg_pre_saw(struct drx_demod_in
 		ext_attr->vsb_pre_saw_cfg = *pre_saw;
 		break;
 #ifndef DRXJ_VSB_ONLY
-	case DRX_STANDARD_ITU_A:	__fallthrough;;
-	case DRX_STANDARD_ITU_B:	__fallthrough;;
+	case DRX_STANDARD_ITU_A:	__fallthrough;
+	case DRX_STANDARD_ITU_B:	__fallthrough;
 	case DRX_STANDARD_ITU_C:
 		ext_attr->qam_pre_saw_cfg = *pre_saw;
 		break;
@@ -11273,10 +11273,10 @@ ctrl_set_cfg_afe_gain(struct drx_demod_i
 	ext_attr = (struct drxj_data *) demod->my_ext_attr;
 
 	switch (afe_gain->standard) {
-	case DRX_STANDARD_8VSB:	__fallthrough;;
+	case DRX_STANDARD_8VSB:	__fallthrough;
 #ifndef DRXJ_VSB_ONLY
-	case DRX_STANDARD_ITU_A:	__fallthrough;;
-	case DRX_STANDARD_ITU_B:	__fallthrough;;
+	case DRX_STANDARD_ITU_A:	__fallthrough;
+	case DRX_STANDARD_ITU_B:	__fallthrough;
 	case DRX_STANDARD_ITU_C:
 #endif
 		/* Do nothing */
@@ -11310,8 +11310,8 @@ ctrl_set_cfg_afe_gain(struct drx_demod_i
 		ext_attr->vsb_pga_cfg = gain * 13 + 140;
 		break;
 #ifndef DRXJ_VSB_ONLY
-	case DRX_STANDARD_ITU_A:	__fallthrough;;
-	case DRX_STANDARD_ITU_B:	__fallthrough;;
+	case DRX_STANDARD_ITU_A:	__fallthrough;
+	case DRX_STANDARD_ITU_B:	__fallthrough;
 	case DRX_STANDARD_ITU_C:
 		ext_attr->qam_pga_cfg = gain * 13 + 140;
 		break;

  parent reply	other threads:[~2019-03-19 10:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-16  3:38 [PATCH] Use fall-through attribute rather than magic comments Shawn Landden
2019-03-16  8:08 ` Joe Perches
2019-03-16 21:42 ` Gustavo A. R. Silva
2019-03-18 12:22 ` kbuild test robot
2019-03-18 12:30 ` kbuild test robot
2019-03-19 10:34 ` kbuild test robot
2019-03-19 10:34 ` kbuild test robot [this message]
2019-06-17 15:56 ` Pavel Machek
2019-06-17 16:25   ` Joe Perches
2019-06-17 16:41     ` David Laight
2019-06-18  7:34     ` Pavel Machek
2019-06-18  9:30       ` Joe Perches
2019-06-18 10:45         ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2017-04-26  5:18 [PATCH] fix semicolon.cocci warnings Julia Lawall

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=20190319103436.GA43269@lkp-hsx03 \
    --to=lkp@intel.com \
    --cc=apw@canonical.com \
    --cc=gustavo@embeddedor.com \
    --cc=joe@perches.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shawn@git.icu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).