From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1990DC4708E for ; Sat, 29 May 2021 11:04:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F393A611AB for ; Sat, 29 May 2021 11:04:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229831AbhE2LFg (ORCPT ); Sat, 29 May 2021 07:05:36 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2537 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229768AbhE2LFO (ORCPT ); Sat, 29 May 2021 07:05:14 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Fsdrk6tR9zYrYJ; Sat, 29 May 2021 19:00:54 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 29 May 2021 19:03:31 +0800 Received: from thunder-town.china.huawei.com (10.174.177.72) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 29 May 2021 19:03:29 +0800 From: Zhen Lei To: Jason Wessel , Daniel Thompson , Douglas Anderson , Balbir Singh , Barry Song , Christoph Hellwig , "Marek Szyprowski" , Robin Murphy , Konrad Rzeszutek Wilk , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , Eric Biederman , "Naveen N . Rao" , Anil S Keshavamurthy , "David S . Miller" , Masami Hiramatsu , Jessica Yu , "Steffen Klassert" , Daniel Jordan , Oleg Nesterov , John Stultz , Stephen Boyd , Luis Chamberlain , Tejun Heo , Lai Jiangshan , kgdb-bugreport , kexec , linux-crypto , linux-kernel CC: Zhen Lei Subject: [PATCH v2 4/4] time: Fix spelling mistakes Date: Sat, 29 May 2021 19:03:05 +0800 Message-ID: <20210529110305.9446-5-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210529110305.9446-1-thunder.leizhen@huawei.com> References: <20210529110305.9446-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.177.72] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix some spelling mistakes in comments: wit ==> with initialy ==> initially syncrhonized ==> synchronized therefor ==> therefore Signed-off-by: Zhen Lei --- include/linux/timekeeping.h | 2 +- include/linux/timer.h | 2 +- kernel/time/alarmtimer.c | 2 +- kernel/time/timer.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h index 78a98bdff76d..01bd6ff322be 100644 --- a/include/linux/timekeeping.h +++ b/include/linux/timekeeping.h @@ -28,7 +28,7 @@ extern int do_sys_settimeofday64(const struct timespec64 *tv, * For other references, use the functions with "real", "clocktai", * "boottime" and "raw" suffixes. * - * To get the time in a different format, use the ones wit + * To get the time in a different format, use the ones with * "ns", "ts64" and "seconds" suffix. * * See Documentation/core-api/timekeeping.rst for more details. diff --git a/include/linux/timer.h b/include/linux/timer.h index fda13c9d1256..a7f7c7cac4c0 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -56,7 +56,7 @@ struct timer_list { * * Note: Because enqueuing of timers can migrate the timer from one * CPU to another, pinned timers are not guaranteed to stay on the - * initialy selected CPU. They move to the CPU on which the enqueue + * initially selected CPU. They move to the CPU on which the enqueue * function is invoked via mod_timer() or add_timer(). If the timer * should be placed on a particular CPU, then add_timer_on() has to be * used. diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c index 5897828b9d7e..a400139b9a9c 100644 --- a/kernel/time/alarmtimer.c +++ b/kernel/time/alarmtimer.c @@ -35,7 +35,7 @@ /** * struct alarm_base - Alarm timer bases - * @lock: Lock for syncrhonized access to the base + * @lock: Lock for synchronized access to the base * @timerqueue: Timerqueue head managing the list of events * @get_ktime: Function to read the time correlating to the base * @get_timespec: Function to read the namespace time correlating to the base diff --git a/kernel/time/timer.c b/kernel/time/timer.c index 84332f01dc57..df6585281713 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -62,7 +62,7 @@ EXPORT_SYMBOL(jiffies_64); /* * The timer wheel has LVL_DEPTH array levels. Each level provides an array of - * LVL_SIZE buckets. Each level is driven by its own clock and therefor each + * LVL_SIZE buckets. Each level is driven by its own clock and therefore each * level has a different granularity. * * The level granularity is: LVL_CLK_DIV ^ lvl @@ -70,7 +70,7 @@ EXPORT_SYMBOL(jiffies_64); * * The array level of a newly armed timer depends on the relative expiry * time. The farther the expiry time is away the higher the array level and - * therefor the granularity becomes. + * therefore the granularity becomes. * * Contrary to the original timer wheel implementation, which aims for 'exact' * expiry of the timers, this implementation removes the need for recascading -- 2.25.1