From patchwork Thu Dec 21 05:51:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 181999 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp206478dyi; Wed, 20 Dec 2023 21:52:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IH52MvNPXdetWPOp1KMu9DoViOOrqKW6eJMc91mNHkIoOA7DEkwL21onMg1k668ac/e3Trn X-Received: by 2002:a17:903:4298:b0:1d3:f33c:e2c3 with SMTP id ju24-20020a170903429800b001d3f33ce2c3mr1604535plb.126.1703137944892; Wed, 20 Dec 2023 21:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703137944; cv=none; d=google.com; s=arc-20160816; b=QjzHXC1sGriSRi569EmtYr/ftSt705qQMBAQ2n6w74iNJsgDtSH+dLyG2Jxn+yrJip cRx+p3BLI+P5VkCo3D2WOKI16++1qnG5JSuW1eiSUWhYLvZcydeHZl2pKd5zNDCCrNxN MxqGFIfQN419B0AwdyYVTxrMOWGMldTWL48XEVWmIyb/e3qetYJ1GGS+7Ee6JgJVuEXs Jm1fBfw+/lMWQd9HZtJ8sm1xS4kjCdJZzkbHzFY5Bb2wx+MTMms/nQSZi9/2EgXn08r6 jz+fIVDX30BkYu0rwPOfBIbpSS1t2EVcwijhFkXW7OPfiwsKVhKwxkS41yKrdaiNJQws QlVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=+XoCK53Gvu/al13C+ucC/sWMObI4hSS6KAdW71BQpfs=; fh=R3GFm9I7va67YvJbBDv33kIX+B/RaqaOYjv4rvoC6TI=; b=Ev68bJ1hTNMSyTtJ4NeuoVbp52NbVLei+oYCgC4x8J392/+RQmgvW8tW67cM1hsGVY igdbFhiTPch4+UQ2VxYrsU0MBFX5hc4Yrn0HT4AAQsmkU8Tuy/oPfnwENAAIeAIa5poq 10ZlBntg0FFSzkP0w/EeO9XPo87UAWcrQVDq1SyoF9fNTJMiL9LKWgLnJCPdb3BS+ZXk wjmhZNXqAqTtz8EnltH2S3DxaurFCaLk1RYCUlvpIhudA7pbywcfkkRKX0UhFqMf+sy3 TQED3fizR301/paD0b7ngmR7sYJVVReiUAz7cEs3YVQZ4q959QzI34PDDW4DODc0Zh0O Hoow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Zv0M382b; spf=pass (google.com: domain of linux-kernel+bounces-7871-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7871-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z4-20020a170903018400b001d060d48fb3si942161plg.460.2023.12.20.21.52.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 21:52:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7871-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Zv0M382b; spf=pass (google.com: domain of linux-kernel+bounces-7871-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7871-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4D0A5B24D93 for ; Thu, 21 Dec 2023 05:52:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0747BA30; Thu, 21 Dec 2023 05:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Zv0M382b" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E7559474; Thu, 21 Dec 2023 05:51:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=+XoCK53Gvu/al13C+ucC/sWMObI4hSS6KAdW71BQpfs=; b=Zv0M382bWEcWJmtA3dhuJ0koDy jdd6oUNr3xlkxv99M7I0n5xSjhQL1Prj2y+L2rUL8jgGkFbphsKGUwMHmtBA3h2H70+gOedzVojd0 Y2qMMx09fGWkTq1RdTK/AE3h1RKok8zqmd7qiQxhzHF9imST1Y1f41gbSy1RW/fAzOwPKrY9me8B7 1J4G6QMvkgiugjFlbp3kn35Cj/+lM7anql28zBC9IeC+BLansdc6Y+BNHmicYAjdGSpJUAMePcirS kd82j1oh8zvn5VlaxnsIiuR2BnZtVssTOnA9lfLRFLdsULM0BV6pHcqFtTWBzoVDYvjVCg30EMwDI NYY/tqJQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGByD-001m5e-1V; Thu, 21 Dec 2023 05:51:49 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Amit Daniel Kachhap , Daniel Lezcano , Viresh Kumar , Lukasz Luba , "Rafael J . Wysocki" , Zhang Rui , linux-pm@vger.kernel.org Subject: [PATCH] thermal: cpuidle_cooling: fix kernel-doc warning and a spello Date: Wed, 20 Dec 2023 21:51:44 -0800 Message-ID: <20231221055144.24862-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785869573536698285 X-GMAIL-MSGID: 1785869573536698285 Correct one misuse of kernel-doc notation and one spelling error as reported by codespell. cpuidle_cooling.c:152: warning: cannot understand function prototype: 'struct thermal_cooling_device_ops cpuidle_cooling_ops = ' For the kernel-doc warning, don't use "/**" for a comment on data. kernel-doc can be used for structure declarations but not definitions. Signed-off-by: Randy Dunlap Cc: Amit Daniel Kachhap Cc: Daniel Lezcano Cc: Viresh Kumar Cc: Lukasz Luba Cc: Rafael J. Wysocki Cc: Zhang Rui Cc: linux-pm@vger.kernel.org --- drivers/thermal/cpuidle_cooling.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/drivers/thermal/cpuidle_cooling.c b/drivers/thermal/cpuidle_cooling.c --- a/drivers/thermal/cpuidle_cooling.c +++ b/drivers/thermal/cpuidle_cooling.c @@ -66,7 +66,7 @@ static unsigned int cpuidle_cooling_runt * @state : a pointer to the state variable to be filled * * The function always returns 100 as the injection ratio. It is - * percentile based for consistency accross different platforms. + * percentile based for consistency across different platforms. * * Return: The function can not fail, it is always zero */ @@ -146,7 +146,7 @@ static int cpuidle_cooling_set_cur_state return 0; } -/** +/* * cpuidle_cooling_ops - thermal cooling device ops */ static struct thermal_cooling_device_ops cpuidle_cooling_ops = {