Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1325128

[PATCH] stm class: fix semicolon.cocci warnings

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [PATCH] stm class: fix semicolon.cocci warnings
Date 2016-02-03 11:20 +0100
Message-ID <qY2Hv-DD-11@gated-at.bofh.it> (permalink)
References <qY2Hv-DD-13@gated-at.bofh.it> <qY0Po-7NH-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


drivers/hwtracing/stm/policy.c:341:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Chunyan Zhang <zhang.chunyan@linaro.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/hwtracing/stm/policy.c
+++ b/drivers/hwtracing/stm/policy.c
@@ -338,7 +338,7 @@ stp_policies_make(struct config_group *g
 		if (stm)
 			break;
 		*p = '.';
-	};
+	}
 
 	kfree(devname);
 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V2 2/6] stm class: adds a loop to extract the first valid STM device name Chunyan Zhang <zhang.chunyan@linaro.org> - 2016-02-03 09:20 +0100
  [PATCH] stm class: fix semicolon.cocci warnings kbuild test robot <lkp@intel.com> - 2016-02-03 11:20 +0100
  Re: [PATCH V2 2/6] stm class: adds a loop to extract the first valid  STM device name kbuild test robot <lkp@intel.com> - 2016-02-03 11:20 +0100
  [PATCH V2 2/6] stm class: adds a loop to extract the first valid STM device name Chunyan Zhang <zhang.chunyan@linaro.org> - 2016-02-04 10:00 +0100
    Re: [PATCH V2 2/6] stm class: adds a loop to extract the first valid STM device name Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-02-04 18:40 +0100
      Re: [PATCH V2 2/6] stm class: adds a loop to extract the first valid  STM device name Chunyan Zhang <zhang.chunyan@linaro.org> - 2016-02-05 04:20 +0100

csiph-web