Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4722745imu; Sat, 1 Dec 2018 01:29:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/XqNGqBZDhcs5I3Zd65YPc/uQjDUdIrbPOZvfZRocDZRabAPWHjLh6UmcHF0TbMaOiCLyso X-Received: by 2002:a63:fe0a:: with SMTP id p10mr7286128pgh.265.1543656573195; Sat, 01 Dec 2018 01:29:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543656573; cv=none; d=google.com; s=arc-20160816; b=knB5BVi5LMjxz2g1kB/7XdIYwjaKnlf733+EQU7ndSKxKtqV++1+3KoEBq14uEjeay 2vdwrhk8yX6l92KmQhIt9o/YY9LaICbrFTK5VfeZKaW8k3Yp0CY2twJxbaFOKBlE2I5B /n+MkMdRKlyDfE1EwZKU1GBxdyYrLASmmhxrYr9kRl7FH+quuDtmO8jQJIkEp92Ozgpk Hi4dyG9hSEhJzHBQE+UwzOHby8Qg6ZObhhGTw4hMwO/0Fwa/LS3UkK4dpSaRHA8Faba0 o6fwLM2CVajs5aE2c3MGIRr5NsRnzzNmk0+FwRanXkHqNuUDjxrK+QhcJFlG+8FkC/6U EdAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GA9viY6+HoGF60SaAAWnUvQZ3POzFMl/VjEKQEzZzns=; b=pMaEPljjOWevpE4JAjQbQ7STpTNYxrZ8W043qpa0/RG7v2ynJhLJoglRbDMGJ3Iftf OQiK+dGCVsfYw/08Mx8WwMZUDLXEkS1Le/m8NxEyDOB9SqDNHyciwLHf0djLc+ttD2ZD jPASN3D5R8n1cadKGg54h6PNslv1P6uXnQGN8CghTQ+lAG82Gh/tdlGGYA3LS/mBUlpO GJGrrlOLLFmjuOvVR/sBfJ/vsAqf46zBF6BsKoRrh2d73WY6rZVAgYrQ207ICsTkKoaa Eheci69LF6iy9EnhYkOORJ0WK3cGcHw3l/d8RGYWo//Od33uWnjgnMVdaOyQJtMCN3qv NbkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16si7644612pgd.117.2018.12.01.01.29.02; Sat, 01 Dec 2018 01:29:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726409AbeLAUkL (ORCPT + 99 others); Sat, 1 Dec 2018 15:40:11 -0500 Received: from mxhk.zte.com.cn ([63.217.80.70]:55384 "EHLO mxhk.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726209AbeLAUkL (ORCPT ); Sat, 1 Dec 2018 15:40:11 -0500 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 2E297E1EBEAEC81378C5; Sat, 1 Dec 2018 17:28:04 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id wB19S1OE076430; Sat, 1 Dec 2018 17:28:01 +0800 (GMT-8) (envelope-from wen.yang99@zte.com.cn) Received: from LIN-A6CB96A0603.zte.intra ([10.90.106.118]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018120117284767-14118445 ; Sat, 1 Dec 2018 17:28:47 +0800 From: Wen Yang To: Ingo Molnar , Peter Zijlstra Cc: linux-kernel@vger.kernel.org, zhong.weidong@zte.com.cn, Wen Yang Subject: [PATCH] sched/fair: Fix typos Date: Sat, 1 Dec 2018 17:27:39 +0800 Message-Id: <20181201092739.28450-1-wen.yang99@zte.com.cn> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-12-01 17:28:47, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-12-01 17:27:41 Content-Transfer-Encoding: quoted-printable X-MAIL: mse01.zte.com.cn wB19S1OE076430 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a few typos detected by the checkpatch script: WARNING: 'intialized' may be misspelled - perhaps 'initialized'? WARNING: 'Substract' may be misspelled - perhaps 'Subtract'? Signed-off-by: Wen Yang CC: Ingo Molnar CC: Peter Zijlstra CC: linux-kernel@vger.kernel.org --- kernel/sched/fair.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index f19aa66f9b15..dbcb0dd7332e 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -703,9 +703,9 @@ void init=5Fentity=5Frunnable=5Faverage(struct sched=5F= entity *se) memset(sa, 0, sizeof(*sa)); =20 /* - * Tasks are intialized with full load to be seen as heavy tasks until + * Tasks are initialized with full load to be seen as heavy tasks until * they get a chance to stabilize to their real load level. - * Group entities are intialized with zero load to reflect the fact that + * Group entities are initialized with zero load to reflect the fact that * nothing has been attached to the task group yet. */ if (entity=5Fis=5Ftask(se)) @@ -3977,8 +3977,8 @@ dequeue=5Fentity(struct cfs=5Frq *cfs=5Frq, struct sc= hed=5Fentity *se, int flags) /* * When dequeuing a sched=5Fentity, we must: * - Update loads to have both entity and cfs=5Frq synced with now. - * - Substract its load from the cfs=5Frq->runnable=5Favg. - * - Substract its previous weight from cfs=5Frq->load.weight. + * - Subtract its load from the cfs=5Frq->runnable=5Favg. + * - Subtract its previous weight from cfs=5Frq->load.weight. * - For group entity, update its weight to reflect the new share * of its group cfs=5Frq. */ --=20 2.19.1