From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx10.didiglobal.com (mx10.didiglobal.com [111.202.70.125]) by smtp.subspace.kernel.org (Postfix) with SMTP id 48DCC1B395D for ; Tue, 24 Dec 2024 09:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.202.70.125 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735034245; cv=none; b=UUaXDNHLRFiulczXYuuMxE+W2mR02lWN59zCGVvdNHq28HkDbcAiw2SQwIiE0/4QdcDoAhVqbfWk7OTr0m7HFRNDbTS9JmABK65l2eYZRnVcKnHrO6JHUk6BQVN6VWpGlz5D+6vVLJhMcD1QiKpcyD72fqGH8PiJ7ZT5ryfy6zc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735034245; c=relaxed/simple; bh=pH1g8v8NmSkl/Qad+zvHC4l+9ViY0QfKAs4DI11mY+g=; h=Date:From:To:CC:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ElIWURBpCH4x+tR4aEzN5OTPT7+Hy45Qd0Dok5pMsVk8uUaYXT2uTFfmAiWzYTgj7rsBxdvhvccaDpJQAMdlLhowkxItSD4/reyjNKSU2MYyqftXOUFKTdufh/Q/UAloTx8s1DZSgP1IhaNXnP9XVQ2VxfeG7s3veolQJkGkNoc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=didiglobal.com; spf=pass smtp.mailfrom=didiglobal.com; arc=none smtp.client-ip=111.202.70.125 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=didiglobal.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=didiglobal.com Received: from mail.didiglobal.com (unknown [10.79.65.19]) by mx10.didiglobal.com (MailData Gateway V2.8.8) with ESMTPS id 530ED1809551D1; Tue, 24 Dec 2024 17:53:32 +0800 (CST) Received: from didi-ThinkCentre-M930t-N000 (10.79.71.102) by BJ02-ACTMBX-01.didichuxing.com (10.79.65.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1544.11; Tue, 24 Dec 2024 17:53:52 +0800 Date: Tue, 24 Dec 2024 17:53:44 +0800 X-MD-Sfrom: tiozhang@didiglobal.com X-MD-SrcIP: 10.79.65.19 From: Tio Zhang To: CC: Subject: [PATCH 1/1] kthread: correct comments before kthread_queue_work() Message-ID: <20241224095344.GA7587@didi-ThinkCentre-M930t-N000> Mail-Followup-To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: BJ03-PUBMBX-01.didichuxing.com (10.79.71.11) To BJ02-ACTMBX-01.didichuxing.com (10.79.65.19) s/kthread_worker_create/kthread_create_worker/ to avoid confusion when reading comments before kthread_queue_work(). Signed-off-by: Tio Zhang --- kernel/kthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kthread.c b/kernel/kthread.c index a5ac612b1609..2fd0daa6b3b6 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c @@ -1015,7 +1015,7 @@ static void kthread_insert_work(struct kthread_worker *worker, * @work: kthread_work to queue * * Queue @work to work processor @task for async execution. @task - * must have been created with kthread_worker_create(). Returns %true + * must have been created with kthread_create_worker(). Returns %true * if @work was successfully queued, %false if it was already pending. * * Reinitialize the work if it needs to be used by another worker. -- 2.17.1