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();