Received: by 2002:a05:7412:a9a3:b0:f9:93eb:408e with SMTP id o35csp35360rdh; Wed, 20 Dec 2023 21:52:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IELH7rAO2GH71w9inhv3dCZFWNODoRMyL5fc5RQvLcw0VbCG7AC6dGEj4KOUO9ekRagjVph X-Received: by 2002:a05:6214:2264:b0:67f:8030:11bb with SMTP id gs4-20020a056214226400b0067f803011bbmr884958qvb.113.1703137922823; Wed, 20 Dec 2023 21:52:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703137922; cv=none; d=google.com; s=arc-20160816; b=ryfQhQC2pTNTmHcbI1VUQtiGbWBb2LvpT+j3LR0UOx7cB2h041EFRYqTF5tFJ+h53B KRTJ69nd/sKEMK39D9qtNl6Itfv42JL0pneEDLHCJDKZ4qhQBZwMHVBWqNlMSDp8MHhA OHEAHvo27wLLwcAMZWqraaZNFW74a6PLd26XMoAoNGyvVfiy8/BvFi2Vd0a8CTPakEJF yF2Zx+/2ZFKCUQrUUDUAJkqrs2adbS7sG3Z+pkXYBbvVaDEedP9GLfvFqetTBQfEl0Uq KrFwkbfn5ccLNNK1c3/i3RHITv27CiqrRD+DqgRo8Szws9NW8cIfx/siUPcaIhup83P9 8VgQ== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7871-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s7-20020a05620a0bc700b0077f039bb628si1492572qki.422.2023.12.20.21.52.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 21:52:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7871-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8F6651C22EA8 for ; Thu, 21 Dec 2023 05:52:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03D01B64A; Thu, 21 Dec 2023 05:51:53 +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 Content-Transfer-Encoding: 8bit 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 = {