Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp819208pxb; Thu, 17 Feb 2022 15:44:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyWdYt5pVjedyKz9/9OHrJPhjYLut4dHd+CQRL9SJA2B8zy09OcRNoIGIE5CpjL7Cxf/wse X-Received: by 2002:a63:d47:0:b0:373:598c:e0aa with SMTP id 7-20020a630d47000000b00373598ce0aamr4228182pgn.243.1645141441386; Thu, 17 Feb 2022 15:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645141441; cv=none; d=google.com; s=arc-20160816; b=ruYn6GPR2OpGEi8OGFiVSMgZHqWaeE+8FlHO3AIfiDxQGMySzW32OLMnRxK7Xf9Vfk Z1fnOkKWyAz6mhlAJsmqAFE+gcVE/jixMWt1+7WPg3nnpMTc9epV7CeJ4zWJxxBt7MuP 4rvr+rhb2kXknO9HYEkHeAu1mGNJjG6iwZcAw5ihZY/sTbQMKG+A3DDM1IP5n5P+5hhT ZmmLYKr6HKru9mncV2Oyg2zvE352+Mf54cOB+nZoMLc3KHUsIDsWkKi2/706PPmEQLtv W7D4bTbNRcXAHksgWsyCEN2nGnEuXZXy3tywPkP7G6N625oLLMvK6ZRAqYHwsCmN8pfo Sleg== 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=WwYNi0J9YQ9F5XB4pxTyHBpcb0/F9SJ61aVCroEtnpw=; b=M8xkmOeNcVmQ9fne95M3eWoNv1OsHUGqlC4lpWKDHmprub2fzZLUOG9amU3w6cry5O CJwF8ebez3lEXHLiQilWHJm+Z4TxU3btpGSFf0bdSPC1vTyG1mbe3/S8/m4ngwrdcQDh 93r/nQa8gQjTIVQ3RhgPw8R9MA+N7KXoKNtBu+KLx4g1q9lqFpRlxYA5sFaw4s/0SzSd Es+Zcl/SkwLbxMPERIgXrxyo6IyTDQKu6+ghopDRB8zE1kOqysr0tphBUoL53y8TgLeg eqapfGQZ4/myoQEn2MTa87YJ1iU9EJ8Lwq7Hz1Qa7Ak9gbLhuNroDQo8QeK4ZQKAEP5d +QNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id lr14si2239970pjb.64.2022.02.17.15.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:44:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 21A602FAB51; Thu, 17 Feb 2022 15:21:08 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230385AbiBQB2l (ORCPT + 99 others); Wed, 16 Feb 2022 20:28:41 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:40870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbiBQB2h (ORCPT ); Wed, 16 Feb 2022 20:28:37 -0500 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E655EC2E49 for ; Wed, 16 Feb 2022 17:28:23 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0V4fhVwC_1645061300; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V4fhVwC_1645061300) by smtp.aliyun-inc.com(127.0.0.1); Thu, 17 Feb 2022 09:28:20 +0800 From: Yang Li 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, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] sched/fair: clean up some inconsistent indenting Date: Thu, 17 Feb 2022 09:28:18 +0800 Message-Id: <20220217012818.1177-1-yang.lee@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:5661 enqueue_task_fair() warn: inconsistent indenting Reported-by: Abaci Robot Signed-off-by: Yang Li --- 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 28b91f11b618..1ff3f45e24f3 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5654,12 +5654,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