linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:sched/core 28/29] kernel/sched/core_sched.c:201:2-3: Unneeded semicolon
@ 2021-06-17 20:14 kernel test robot
  2021-06-17 20:14 ` [PATCH] sched: fix semicolon.cocci warnings kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-06-17 20:14 UTC (permalink / raw)
  To: Chris Hyser; +Cc: kbuild-all, linux-kernel, x86, Peter Zijlstra

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head:   9f26990074931bbf797373e53104216059b300b1
commit: 7ac592aa35a684ff1858fb9ec282886b9e3575ac [28/29] sched: prctl() core-scheduling interface
config: x86_64-randconfig-c022-20210617 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


cocci warnings: (new ones prefixed by >>)
>> kernel/sched/core_sched.c:201:2-3: Unneeded semicolon

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37809 bytes --]

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

* [PATCH] sched: fix semicolon.cocci warnings
  2021-06-17 20:14 [tip:sched/core 28/29] kernel/sched/core_sched.c:201:2-3: Unneeded semicolon kernel test robot
@ 2021-06-17 20:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-17 20:14 UTC (permalink / raw)
  To: Chris Hyser
  Cc: kbuild-all, linux-kernel, x86, Peter Zijlstra, Ingo Molnar,
	Juri Lelli, Vincent Guittot, Dietmar Eggemann, Steven Rostedt,
	Ben Segall, Mel Gorman, Daniel Bristot de Oliveira

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

kernel/sched/core_sched.c:201:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 7ac592aa35a6 ("sched: prctl() core-scheduling interface")
CC: Chris Hyser <chris.hyser@oracle.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head:   9f26990074931bbf797373e53104216059b300b1
commit: 7ac592aa35a684ff1858fb9ec282886b9e3575ac [28/29] sched: prctl() core-scheduling interface
:::::: branch date: 5 weeks ago
:::::: commit date: 5 weeks ago

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

--- a/kernel/sched/core_sched.c
+++ b/kernel/sched/core_sched.c
@@ -198,7 +198,7 @@ int sched_core_share_pid(unsigned int cm
 	default:
 		err = -EINVAL;
 		goto out;
-	};
+	}
 
 	if (type == PIDTYPE_PID) {
 		__sched_core_set(task, cookie);

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

end of thread, other threads:[~2021-06-17 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 20:14 [tip:sched/core 28/29] kernel/sched/core_sched.c:201:2-3: Unneeded semicolon kernel test robot
2021-06-17 20:14 ` [PATCH] sched: fix semicolon.cocci warnings kernel test robot

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).