All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched/deadline:fix coding style issue
@ 2016-12-15  6:11 Gaosheng Wu
  0 siblings, 0 replies; only message in thread
From: Gaosheng Wu @ 2016-12-15  6:11 UTC (permalink / raw)
  To: mingo; +Cc: peterz, linux-kernel, Gaosheng Wu

Line 45 of cpudeadline.c violates chapter 3 of CodingStyle - space 
required before the open parenthesis '('.

Signed-off-by: Gaosheng Wu <wugsh15@lzu.edu.cn>
---


checkpatch.pl complained as the following:
ERROR: space required before the open parenthesis '('
#45: FILE: kernel/sched/cpudeadline.c:45:
+	while(1) {

Patch was compile checked with: x86_64_defconfig

Patch is aginst:4.9.0 (localversion-next is next-20161215)

 kernel/sched/cpudeadline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/cpudeadline.c b/kernel/sched/cpudeadline.c
index e731190..3b7dc3c 100644
--- a/kernel/sched/cpudeadline.c
+++ b/kernel/sched/cpudeadline.c
@@ -42,7 +42,7 @@ static void cpudl_heapify_down(struct cpudl *cp, int idx)
 		return;
 
 	/* adapted from lib/prio_heap.c */
-	while(1) {
+	while (1) {
 		u64 largest_dl;
 		l = left_child(idx);
 		r = right_child(idx);
-- 
2.1.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-15  6:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-15  6:11 [PATCH] sched/deadline:fix coding style issue Gaosheng Wu

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.