Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1003682iob; Fri, 13 May 2022 19:17:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaOPVMw+/x5rgr+jXlYiJuIFtWMvDQTrsQmJO/iS34jWKM2PNg1hfquhnCNRJaUhJ3oB6h X-Received: by 2002:a7b:cc12:0:b0:37c:1ae:100a with SMTP id f18-20020a7bcc12000000b0037c01ae100amr17068325wmh.54.1652494643081; Fri, 13 May 2022 19:17:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652494643; cv=none; d=google.com; s=arc-20160816; b=DNB9jRJ7aqK5p0s8YG0+b0oodAftNNmcS15fVjJx/29h34oGxBD76z4wHa7Xg7G7Fj UTq9+lqeXRYZj4UPYCw89LchaAwiCp0mz80U/RVmvucO2sFSt3O3s5zb2NKowj/XoHVI nzBQSgLjSvOhR3xd0BUrUMufuMuNx+G87heWtme649CHatd5DEFw/i7XekCSDvIrvWzZ veqnf7TJUWb1aN3sDt46q5PjObgZct33ETpHpFZzciZjQSGQ81S627c9ebFb8eRtO6Cz gEcBJxXQcdrPZaRGfftT6QNg88S0+jwGG7OD9uoj/na0xNLBqlLcMai0/F8LAoi1xOaZ TIWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=7oJSuYA/mLfUFchKeFfIUvALRDA3zIE+x6emUSsj/bU=; b=lgj5MEjX6dzAz0Slsnk+m3yyQLjLbv4aaiKshoLG6gFo5IuXc/mfpvJ6WwFHn6c+H7 DA2aIDanZ7gWhdQSHoqSePH9Q7AiLhl+Y2XZUvUM51aS9x/WmmyuhdtpBZlaE1EJLUUO 9BbwH/Gzw5QT5gZWmLz2Hj0B2SmRetJRRUgRMGwXLyLTOhuM6aJnRs2i1cBCABmoH9Zb ysYsYkoeMpz/Tj+phsd1yJh4DW96KXKadP1e5isP4ZeW1WPJqkQkU/gfMvSdYPUouNq3 Dkw6kxvSP4LwGiF09gUUbYIW+suhKb2trpm3KQ5hqe2NWLRLXkAmbTikKg3h3+dqJWST sGXg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 10-20020a5d47aa000000b0020c6b079a41si5118018wrb.512.2022.05.13.19.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:17:23 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EFA6432FA2B; Fri, 13 May 2022 17:34:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350834AbiELHSO (ORCPT + 99 others); Thu, 12 May 2022 03:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350835AbiELHSM (ORCPT ); Thu, 12 May 2022 03:18:12 -0400 Received: from out30-44.freemail.mail.aliyun.com (out30-44.freemail.mail.aliyun.com [115.124.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9459EAAE0E for ; Thu, 12 May 2022 00:18:08 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0VCzinF7_1652339876; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VCzinF7_1652339876) by smtp.aliyun-inc.com(127.0.0.1); Thu, 12 May 2022 15:18:05 +0800 From: Jiapeng Chong To: mingo@redhat.com Cc: peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] sched/fair: clean up some inconsistent indenting Date: Thu, 12 May 2022 15:17:54 +0800 Message-Id: <20220512071754.117707-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the follow smatch warning: kernel/sched/fair.c:5725 enqueue_task_fair() warn: inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- kernel/sched/fair.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index a2b3eb0ec6dc..27dbafc5246b 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5718,12 +5718,12 @@ enqueue_task_fair(struct rq *rq, struct task_struct *p, int flags) if (cfs_rq_throttled(cfs_rq)) goto enqueue_throttle; - /* - * One parent has been throttled and cfs_rq removed from the - * list. Add it back to not break the leaf list. - */ - if (throttled_hierarchy(cfs_rq)) - list_add_leaf_cfs_rq(cfs_rq); + /* + * One parent has been throttled and cfs_rq removed from the + * list. Add it back to not break the leaf list. + */ + if (throttled_hierarchy(cfs_rq)) + list_add_leaf_cfs_rq(cfs_rq); } /* At this point se is NULL and we are at root level*/ -- 2.20.1.7.g153144c