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

Signed-off-by: Gaosheng Wu <wugs...@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


Reply via email to