All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix semicolon.cocci warnings
@ 2017-04-26  5:18 Julia Lawall
  0 siblings, 0 replies; 5+ messages in thread
From: Julia Lawall @ 2017-04-26  5:18 UTC (permalink / raw)
  To: David Howells
  Cc: Trond Myklebust, linux-nfs, Anna Schumaker, linux-kernel, kbuild-all

 Remove unneeded semicolons.

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

Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/fs/nfs/mount.c
+++ b/fs/nfs/mount.c
@@ -1134,7 +1134,7 @@ static int nfs_mount_ctx_option(struct m
 		default:
 			mc->error = "NFS: Invalid lookupcache argument";
 			return -EINVAL;
-		};
+		}
 		break;
 	case Opt_fscache_uniq:
 		if (nfs_get_option_str(args, &mnt->fscache_uniq))
@@ -1165,7 +1165,7 @@ static int nfs_mount_ctx_option(struct m
 		default:
 			mc->error = "NFS: invalid local_lock argument";
 			return -EINVAL;
-		};
+		}
 		break;

 		/*

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

* [PATCH] fix semicolon.cocci warnings
  2019-03-16  3:38 [PATCH] Use fall-through attribute rather than magic comments Shawn Landden
@ 2019-03-19 10:34 ` kbuild test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kbuild test robot @ 2019-03-19 10:34 UTC (permalink / raw)
  To: Shawn Landden
  Cc: kbuild-all, linux-kernel, Gustavo A . R . Silva, Joe Perches,
	Andy Whitcroft, Shawn Landden

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;

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

* [PATCH] fix semicolon.cocci warnings
  2017-06-13  2:29 [nomadik:gemini-dir-685-tve200 31/31] drivers/gpu/drm/panel/panel-ilitek-ili9322.c:538:24-25: Unneeded semicolon kbuild test robot
@ 2017-06-13  2:29 ` kbuild test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kbuild test robot @ 2017-06-13  2:29 UTC (permalink / raw)
  To: linux-arm-kernel

drivers/gpu/drm/panel/panel-ilitek-ili9322.c:538:24-25: Unneeded semicolon


 Remove unneeded semicolon.

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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 panel-ilitek-ili9322.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/panel/panel-ilitek-ili9322.c
+++ b/drivers/gpu/drm/panel/panel-ilitek-ili9322.c
@@ -535,7 +535,7 @@ static int ili9322_get_modes(struct drm_
 	if (!mode) {
 		DRM_ERROR("failed to add mode %ux%ux@%u\n",
 			  rgb_mode.hdisplay, rgb_mode.vdisplay,
-			  rgb_mode.vrefresh);;
+			  rgb_mode.vrefresh);
 		return -ENOMEM;
 	}
 	drm_mode_set_name(mode);

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

* Re: [PATCH] fix semicolon.cocci warnings
  2016-06-07 15:26 ` [PATCH] fix semicolon.cocci warnings kbuild test robot
@ 2016-06-08  2:56   ` Abylay Ospan
  0 siblings, 0 replies; 5+ messages in thread
From: Abylay Ospan @ 2016-06-08  2:56 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-media, Mauro Carvalho Chehab

Acked-by: Abylay Ospan <aospan@netup.ru>


2016-06-07 11:26 GMT-04:00 kbuild test robot <fengguang.wu@intel.com>:
> drivers/media/dvb-frontends/helene.c:750:2-3: Unneeded semicolon
>
>
>  Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Abylay Ospan <aospan@netup.ru>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>
>  helene.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/media/dvb-frontends/helene.c
> +++ b/drivers/media/dvb-frontends/helene.c
> @@ -747,7 +747,7 @@ static int helene_set_params(struct dvb_
>                 data[6] = 0x78;
>                 data[7] = 0x08;
>                 data[8] = 0x30;
> -       };
> +       }
>         helene_write_regs(priv, 0x5E, data, 9);
>
>         /* LT_AMP_EN should be 0 */



-- 
Abylay Ospan,
NetUP Inc.
http://www.netup.tv

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

* [PATCH] fix semicolon.cocci warnings
  2016-06-07 15:26 [linuxtv-media:master 185/203] drivers/media/dvb-frontends/helene.c:750:2-3: Unneeded semicolon kbuild test robot
@ 2016-06-07 15:26 ` kbuild test robot
  2016-06-08  2:56   ` Abylay Ospan
  0 siblings, 1 reply; 5+ messages in thread
From: kbuild test robot @ 2016-06-07 15:26 UTC (permalink / raw)
  Cc: kbuild-all, linux-media, Mauro Carvalho Chehab, Abylay Ospan

drivers/media/dvb-frontends/helene.c:750:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/media/dvb-frontends/helene.c
+++ b/drivers/media/dvb-frontends/helene.c
@@ -747,7 +747,7 @@ static int helene_set_params(struct dvb_
 		data[6] = 0x78;
 		data[7] = 0x08;
 		data[8] = 0x30;
-	};
+	}
 	helene_write_regs(priv, 0x5E, data, 9);
 
 	/* LT_AMP_EN should be 0 */

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

end of thread, other threads:[~2019-03-19 10:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-26  5:18 [PATCH] fix semicolon.cocci warnings Julia Lawall
  -- strict thread matches above, loose matches on Subject: below --
2019-03-16  3:38 [PATCH] Use fall-through attribute rather than magic comments Shawn Landden
2019-03-19 10:34 ` [PATCH] fix semicolon.cocci warnings kbuild test robot
2017-06-13  2:29 [nomadik:gemini-dir-685-tve200 31/31] drivers/gpu/drm/panel/panel-ilitek-ili9322.c:538:24-25: Unneeded semicolon kbuild test robot
2017-06-13  2:29 ` [PATCH] fix semicolon.cocci warnings kbuild test robot
2016-06-07 15:26 [linuxtv-media:master 185/203] drivers/media/dvb-frontends/helene.c:750:2-3: Unneeded semicolon kbuild test robot
2016-06-07 15:26 ` [PATCH] fix semicolon.cocci warnings kbuild test robot
2016-06-08  2:56   ` Abylay Ospan

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.