From patchwork Sat May 29 11:03:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 450072 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1116326jac; Sat, 29 May 2021 04:03:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxZLNXbW2gXguhPYkIeYwvSeK0gSi58uJIOmecxhXHkqNqFyHFF1myh8gU2TwXmtQ7LGnA X-Received: by 2002:a05:6e02:f93:: with SMTP id v19mr10306635ilo.126.1622286234987; Sat, 29 May 2021 04:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622286234; cv=none; d=google.com; s=arc-20160816; b=Zb70FLrSOZAr0UyZ9rQQ/ZvrK7A4uwPpUNa+5lJNAr20yUkzHCQ8FHZ2DBKxpXNcnB AlDk1nFDr4obOdMqpd/5p6GRUWE73OlZzpIVmM+EgyMCrAPLOervOMPcE0UTjpRD3hoY GKeS0fdUBu3d5SMkjn1fDTdXaL5xQtru7dh/ZrL3csNwmVqStJVvvEFfYgrl20uFuFKX diRPAHjiJOCrgDonM0tYMD4bdytA0RJktnKeL3VE5c5gc3DY40oQ7ZK8lGTcvHn9CbYp cVfXtmAMDgot1NwSIMeD9hScRyPlyRUO/+cRb04qwSZFtByEScvRepRFZQbp94+FKWAi L88A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=kUVwF+Disv2rEE2VNvj8nETFhSWsHEskgqal5y3exQw=; b=aVoUKYVNY7AoZKDB1TH2E2fhK/oBjqr0zAuDAYue3w0jPYQl6G0uZWHr3cjxED3wuU LTRkS/znJsO5zjW+P3AB9anMMZyRRe5XOPbyVAI1pb+mzTPIbqMoAW8m45RAbgAOIPdP SY5OlU0B41SoXWXl0NeR2bPTMBHeN2vL2qZ8d2sK2euPLl6b+m8lMlcQOgtV8lCb+zbg w2kt8zCwq560fjJCAIeBBP6g0uhc4QEikO2WEYua2xFWB1sy6tJo//P3fvHrRw/WPo4K 6Tbht3JgRq3fG5MWth1kCZ2XmL+3xQ+wMmSBCuctSYUZg1Wl5oImUwN2nlqQmGCEOxT2 negw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si7742626ion.34.2021.05.29.04.03.54; Sat, 29 May 2021 04:03:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229798AbhE2LFZ (ORCPT + 3 others); Sat, 29 May 2021 07:05:25 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2536 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbhE2LFI (ORCPT ); Sat, 29 May 2021 07:05:08 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Fsdrc52VhzYrY7; Sat, 29 May 2021 19:00:48 +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:26 +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:25 +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 1/4] kprobes: Fix spelling mistakes Date: Sat, 29 May 2021 19:03:02 +0800 Message-ID: <20210529110305.9446-2-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 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-crypto@vger.kernel.org Fix some spelling mistakes in comments: decrese ==> decrease immmediately ==> immediately Signed-off-by: Zhen Lei --- include/linux/freelist.h | 2 +- kernel/kprobes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 Acked-by: Masami Hiramatsu diff --git a/include/linux/freelist.h b/include/linux/freelist.h index fc1842b96469..1811c1f3f8cb 100644 --- a/include/linux/freelist.h +++ b/include/linux/freelist.h @@ -39,7 +39,7 @@ static inline void __freelist_add(struct freelist_node *node, struct freelist_he * and a refcount increment of a node in try_get, then back up to * something non-zero, then the refcount increment is done by the other * thread) -- so if the CAS to add the node to the actual list fails, - * decrese the refcount and leave the add operation to the next thread + * decrease the refcount and leave the add operation to the next thread * who puts the refcount back to zero (which could be us, hence the * loop). */ diff --git a/kernel/kprobes.c b/kernel/kprobes.c index 8c0a6fdef771..d4156082d5a5 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c @@ -641,7 +641,7 @@ void wait_for_kprobe_optimizer(void) while (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list)) { mutex_unlock(&kprobe_mutex); - /* this will also make optimizing_work execute immmediately */ + /* this will also make optimizing_work execute immediately */ flush_delayed_work(&optimizing_work); /* @optimizing_work might not have been queued yet, relax */ cpu_relax(); From patchwork Sat May 29 11:03:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 450074 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1116447jac; Sat, 29 May 2021 04:04:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzGroOHj9F41nOdwLBysPOlGzm+MrGEs26ZoslkEAi9bZcSNF8TVuXYg6Lkx7SeilK6ZyB X-Received: by 2002:a92:c04b:: with SMTP id o11mr4950693ilf.147.1622286244235; Sat, 29 May 2021 04:04:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622286244; cv=none; d=google.com; s=arc-20160816; b=0DxR7b3YI9ucu4BGGR012CN4vKvytWowgoFQ3dwLNz4N8B9wxgUYOKD22dJCKzIns6 VJV5OJZXvILF8BPDxCMk2Z3zQ0YnVz20hfYHN/40ugtNefQrlVfxH/DEh5+Pwk3u44Ga ZdH+nJXeIec5jha8g1siLxaPDrcZo0pdg9Qal9xj8rrtcPK/heRv4vd4q7hHD/2OK6b1 ClZYCJNSturuVL1ANI9cRz6eIbGsJG+iNDa1gPjR0unoiZJXw8Eqie7hwAKJlmN0QXzQ 3hDTbTpCsXxqLfBlYMvgLrEGUq5qmVSUjfEc9gzqGg5/+Th+5Gh2c/knYcq+6d1RcV4W qZ4w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yu4hVHCnqtWAWef74GkQWvsVWtNpQBoTnSPnAo0F2c0=; b=lgIlGLJLusgq8CRplF3jasBV0S0EYgs8AXvl6CrVr9Miyxj825YgRWel/bMmaTGXk7 Ns7lcJUr0cvP0uTJtkTC2XSA3+J2rAQaYcWClOcw0p4ci70Hu26h8tJLSbLTMYWzvsf/ XA+NpEzhWQeAjvxiQRS2Owpkz2PfwOppbjLhrkG+aID9vBIzBtUycY/R+4HNKyIdUv5R AIrGwHF4oDnLI2EHlxA+hHR+pvs1EjtPt8U0MzjwrhJ5at0HUTnfZEs7MuQGxwl2vhmh bOpu5ExEz5ZX8rdgsGi+R+A6F0DNc1yVjzGS7/V0TR1WbFW/iLFmcGMpnGF+STtaw55D ywLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si8798320jan.91.2021.05.29.04.04.04; Sat, 29 May 2021 04:04:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229792AbhE2LFg (ORCPT + 3 others); Sat, 29 May 2021 07:05:36 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2101 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbhE2LFO (ORCPT ); Sat, 29 May 2021 07:05:14 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FsdpW1r0YzWpxn; Sat, 29 May 2021 18:58:59 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggemv704-chm.china.huawei.com (10.3.19.47) 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:28 +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:26 +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 2/4] kgdb: Fix spelling mistakes Date: Sat, 29 May 2021 19:03:03 +0800 Message-ID: <20210529110305.9446-3-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 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-crypto@vger.kernel.org Fix some spelling mistakes in comments: initalization ==> initialization detatch ==> detach represntation ==> representation hexidecimal ==> hexadecimal delimeter ==> delimiter architecure ==> architecture Signed-off-by: Zhen Lei --- include/linux/kgdb.h | 8 ++++---- kernel/debug/debug_core.c | 2 +- kernel/debug/kdb/kdb_main.c | 8 ++++---- kernel/debug/kdb/kdb_private.h | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) -- 2.25.1 diff --git a/include/linux/kgdb.h b/include/linux/kgdb.h index 392a3670944c..258cdde8d356 100644 --- a/include/linux/kgdb.h +++ b/include/linux/kgdb.h @@ -105,9 +105,9 @@ extern int dbg_set_reg(int regno, void *mem, struct pt_regs *regs); */ /** - * kgdb_arch_init - Perform any architecture specific initalization. + * kgdb_arch_init - Perform any architecture specific initialization. * - * This function will handle the initalization of any architecture + * This function will handle the initialization of any architecture * specific callbacks. */ extern int kgdb_arch_init(void); @@ -229,9 +229,9 @@ extern int kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt); extern int kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt); /** - * kgdb_arch_late - Perform any architecture specific initalization. + * kgdb_arch_late - Perform any architecture specific initialization. * - * This function will handle the late initalization of any + * This function will handle the late initialization of any * architecture specific callbacks. This is an optional function for * handling things like late initialization of hw breakpoints. The * default implementation does nothing. diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c index 4708aec492df..a1f26766eb90 100644 --- a/kernel/debug/debug_core.c +++ b/kernel/debug/debug_core.c @@ -1032,7 +1032,7 @@ dbg_notify_reboot(struct notifier_block *this, unsigned long code, void *x) /* * Take the following action on reboot notify depending on value: * 1 == Enter debugger - * 0 == [the default] detatch debug client + * 0 == [the default] detach debug client * -1 == Do nothing... and use this until the board resets */ switch (kgdbreboot) { diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c index 622410c45da1..d8ee5647b732 100644 --- a/kernel/debug/kdb/kdb_main.c +++ b/kernel/debug/kdb/kdb_main.c @@ -253,7 +253,7 @@ static char *kdballocenv(size_t bytes) * Parameters: * match A character string representing a numeric value * Outputs: - * *value the unsigned long represntation of the env variable 'match' + * *value the unsigned long representation of the env variable 'match' * Returns: * Zero on success, a kdb diagnostic on failure. */ @@ -356,7 +356,7 @@ static void kdb_printenv(void) * Parameters: * arg A character string representing a numeric value * Outputs: - * *value the unsigned long represntation of arg. + * *value the unsigned long representation of arg. * Returns: * Zero on success, a kdb diagnostic on failure. */ @@ -470,7 +470,7 @@ static int kdb_check_regs(void) * symbol name, and offset to the caller. * * The argument may consist of a numeric value (decimal or - * hexidecimal), a symbol name, a register name (preceded by the + * hexadecimal), a symbol name, a register name (preceded by the * percent sign), an environment variable with a numeric value * (preceded by a dollar sign) or a simple arithmetic expression * consisting of a symbol name, +/-, and a numeric constant value @@ -894,7 +894,7 @@ static void parse_grep(const char *str) * Limited to 20 tokens. * * Real rudimentary tokenization. Basically only whitespace - * is considered a token delimeter (but special consideration + * is considered a token delimiter (but special consideration * is taken of the '=' sign as used by the 'set' command). * * The algorithm used to tokenize the input string relies on diff --git a/kernel/debug/kdb/kdb_private.h b/kernel/debug/kdb/kdb_private.h index ccbed9089808..170c69aedebb 100644 --- a/kernel/debug/kdb/kdb_private.h +++ b/kernel/debug/kdb/kdb_private.h @@ -64,7 +64,7 @@ /* * KDB_MAXBPT describes the total number of breakpoints - * supported by this architecure. + * supported by this architecture. */ #define KDB_MAXBPT 16 From patchwork Sat May 29 11:03:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 450071 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1116322jac; Sat, 29 May 2021 04:03:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnOWeytOsgC7v/NUtAbaspv3rQM8YzC9Ka5zCcsmGUKuXoOk7mtyp6r46vRIh06jz1IDhs X-Received: by 2002:a6b:7947:: with SMTP id j7mr9057950iop.0.1622286234690; Sat, 29 May 2021 04:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622286234; cv=none; d=google.com; s=arc-20160816; b=puKdB93DQOC8TRayVup3LiQEuXAhrskJdAW8PUsr4vIS7rIuW8ulXPYDqEfMUbpCe1 hltC5vPEH7+L5zTjspgnDAKd4/eyVOkmjaJC9noosEf1LtdhvSBi2E1PJs26f57YIM93 FZ66yrMYC2UmV19Dq+qIudS0JLxfWcY40fOETcJvI0ABjDMTEV8+xfq4aj/AQVPim9b/ ufFX4JV36iXbxBIjWv10Fq9fh8OO7O3LpstGsTYHTq2/3Dy+iP/yTSspAn6ZTaiRNv3d XP26vdWz02yb4SiL6oiwORrbGQBp6uFjHfZsks2Hxuop6f5pYXBXD2jSf8p7Ftx0X6KE Zc2g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=IJDt/DZU6zK6Na56L592eYPaYXGrSDpf39RSFlTWLNA=; b=aSNt7vmXVg5aJ0bfJjvcZOT6mt/OObrkFAzSCLhCzMi4QNbomhSncNP6JdpSuPYsut iPIfU/nfYlSYDHCn0ylsuFD7e5srLr5okUe+Ejl7sB7s7c7hyRZCkgI1LyKbfZcJ7zcl KPMgKOYyBRrTqnAMsI/Uosg+ztB2k+LDyijTjggSMZgaJxt/szqz4+GgbPJnhiGeromt +lYXN689H5IaksaNEGgqOBs+OIHFXvld2QwayKlwaEECAS8XajxR5NNGZ1gBf5jIgtHf jXv/RCJKF26gPeCuCrE0JKXgfNx9l34rjg5HpM2uNlAR8e+Z6LnWPwpUufA3Wa3FUIss tsTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si7742626ion.34.2021.05.29.04.03.54; Sat, 29 May 2021 04:03:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229673AbhE2LFY (ORCPT + 3 others); Sat, 29 May 2021 07:05:24 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:2354 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbhE2LFI (ORCPT ); Sat, 29 May 2021 07:05:08 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4FsdpN1h2mz1BFw1; Sat, 29 May 2021 18:58:52 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggemv703-chm.china.huawei.com (10.3.19.46) 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 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:28 +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 3/4] kexec: fix a spelling mistake in comment Date: Sat, 29 May 2021 19:03:04 +0800 Message-ID: <20210529110305.9446-4-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 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-crypto@vger.kernel.org alloed ==> allowed Signed-off-by: Zhen Lei Acked-by: "Eric W. Biederman" --- kernel/kexec_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c index 4b34a9aa32bc..21d44f7ae8a8 100644 --- a/kernel/kexec_core.c +++ b/kernel/kexec_core.c @@ -180,7 +180,7 @@ int sanity_check_segment_list(struct kimage *image) } /* Verify our destination addresses do not overlap. - * If we alloed overlapping destination addresses + * If we allowed overlapping destination addresses * through very weird things can happen with no * easy explanation as one segment stops on another. */ From patchwork Sat May 29 11:03:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 450073 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1116437jac; Sat, 29 May 2021 04:04:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXCHAHoMp7TOsUm8k8qzzT6uxGIVldGmjOK86z0pGPDjGXu9bU1eitWbtLKNJMevkyqtDq X-Received: by 2002:a05:6e02:1c05:: with SMTP id l5mr9822233ilh.293.1622286243897; Sat, 29 May 2021 04:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622286243; cv=none; d=google.com; s=arc-20160816; b=M6uCCOPbSM6CvrrdYV0kdaCJyZw9+CM8JcFtCJ7ZR3ODCIFfkeIBHP6SEnxSc7sLUj EmOItdclcTOFrB4ayL3MH5AC3u92fZJUoeb+3KRd+xT52kbQyTAsFpC8f7bj/7x4G5PO dM3+Exvj8BfbcyVvqpyR7Z19GJPtCiPFmkfZj0tTo2nOtG76f519vMBPs7qK/0gnGFQP sVJefXMzEiPv2N3QzeeiyXa0guRLD7srOOnM8MmKuHtY9poKvaqsP+2IW8UlDxmPaTpN mDQDdaU0WgZ4XKHWW2L2x7YXDLqTs06mR8uXj0PgCdERKvx3nYr5Pe3YC7xe+j2zCWum h3+A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dNZ9DjsXzCP/lM5K7/MzqjNA8sNRUiV7N7iiexCP7c8=; b=KrA2rVIRs3bPRvjvIQojrI5h7wHhOnESe0QbtKLJKoKAU4PSxyPhXyE+agx65kp9ac 9tHqKj7HfaFFBt9zjk5eWbs1GLV6jTezQcCnTznPziNd0LQ8E8thaSm8OxOT6G2XL9Zc GlkyrMMyRbsf+ax/5iSEZnFa/fLQ1XRYEJSgmYeozD8+3dKkUHFL+vj3txRiDu4wYfz9 PtIAHgocT0yF7poO/qCyBQWDisjwXcEFUEXup0sV+Om6eT1aL3w9NEw6bag4I4Q2fOBN Vh0sZtSexaY/YHPCht8o3iu5cMnV8bqbgsxbH15n2cHLPdmP7Arkaf3gSuu86B5NJAkE u5PA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si8798320jan.91.2021.05.29.04.04.03; Sat, 29 May 2021 04:04:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229744AbhE2LFa (ORCPT + 3 others); Sat, 29 May 2021 07:05:30 -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 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-crypto@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(-) -- 2.25.1 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