[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1481782260-14149-1-git-send-email-wugsh15@lzu.edu.cn>
Date: Thu, 15 Dec 2016 14:11:00 +0800
From: Gaosheng Wu <wugsh15@....edu.cn>
To: mingo@...hat.com
Cc: peterz@...radead.org, linux-kernel@...r.kernel.org,
Gaosheng Wu <wugsh15@....edu.cn>
Subject: [PATCH] sched/deadline:fix coding style issue
Line 45 of cpudeadline.c violates chapter 3 of CodingStyle - space
required before the open parenthesis '('.
Signed-off-by: Gaosheng Wu <wugsh15@....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
Powered by blists - more mailing lists