From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lmwke-0052Hq-AQ for kexec@lists.infradead.org; Sat, 29 May 2021 11:03:34 +0000 From: 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> In-Reply-To: <20210529110305.9446-1-thunder.leizhen@huawei.com> References: <20210529110305.9446-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org 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 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(-) 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(); -- 2.25.1 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec