Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp69182rdb; Thu, 21 Dec 2023 03:07:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEylapNrxx+A7CR7yeTSkRsmxyIT+SSxTyHjKtBw7qVg1v2pTGi5Iev7MCYeWnlRlxXMYci X-Received: by 2002:a17:906:1589:b0:a26:a314:21ad with SMTP id k9-20020a170906158900b00a26a31421admr473257ejd.51.1703156832442; Thu, 21 Dec 2023 03:07:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703156832; cv=none; d=google.com; s=arc-20160816; b=BPZVLdarmMq6rBJTwFuAT6JoVtc2vlVNeSwgAke2UXctEgIrvGRpi4i9fpVhLR+omT Evcslaf6/cKHHveanGK9pa4q4P/I7HbnCVOhv6Sml4IVu0hPhmtdtU6As+KBnIZF0RZx eWIDVeUTNLbVVe8sfQzTx7HE8TJ8kguOHC8DnnR4F+zKPadximVLOV6Fj1vXyYjmQW2q 0w0einhe9l256qRZrJT0xNGqHD0XNFhrUFBnQbjEgXNnVzcQuqIPTotR3z60sDGxVy0b MzDvD0LWR2/hgz9QJhmTKT1AcpCwhxiS/iu3Pj/nP9mT3SB7lYLJaMu4XYYBAnytoUll SKUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=KFySEnepUE+tDIi+pM++FTPD8l5vR/6BAzQA3Eq9QBI=; fh=BC+4Etl0vSa22bAtwo/g4zmiQrG1oYFgNWJWZwuKCco=; b=z25vyyk7VQwpKqzhJbrEFxagZp4yfTHL1dLL8FJKik5bWeXmoz4HmkCIsOtxm4Rw+O Gl1HwYbm3tysuA42yztzpsUWXR/7HQfiGSdU7Bl2EZbrF5EIGhdRc2tjocQG8f8u1A0P s/U8UT9ZjU2i0nunqXz1b1NTHNQPfeNlR7ngy6a0vy5+DjEcrXgmVzP/BLS9kDAKFqAU 4OdQyaXxBG/MP3olMAG6FWMePa7PgdhhpynawwKEk0U0ovwnr7i26QnvifIVijEpkF1M 3qzkwnxOOXirpB+2ZnDVqUHdcfu75NVgJUqrZBgfpYcoqHBcG6jDylYrVCUo4ZCYbB5V 78xg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-8262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q2-20020a170906388200b00a26adbd526fsi83364ejd.131.2023.12.21.03.07.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 03:07:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-8262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 364571F231E0 for ; Thu, 21 Dec 2023 11:07:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5670F6ABB5; Thu, 21 Dec 2023 11:07:03 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A1DE4120C; Thu, 21 Dec 2023 11:07:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3ba32e9554bso152237b6e.1; Thu, 21 Dec 2023 03:07:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703156820; x=1703761620; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KFySEnepUE+tDIi+pM++FTPD8l5vR/6BAzQA3Eq9QBI=; b=TcN/a1CMQhkmPbONm+8IZ+nttxmPSze4HZOdv7QTISbjc1Gz2egch1Z38sYz+cUlO4 pEmNe9s69Pocy4cUvxhnzzJvhyD1QciYHTec9wMdfYBOMrqLzH6rQGv5Y/ID+7aeGA/g MZS+n0mbkqbFa+Uu3XfZ54nK5oIvuDBG55T79rexiafKgGAjREzzQwaTruMRMUjcqZQG lBS3oeNYWTIR4QUeGbm2LYgzgMMWb72q6asP5gErOBJUgDkSUnoyLhUXl710bY/OIenV 5xJolMj+swlfAfBrrw5e/ztrS1MKZ4V7mtcBcWmnEhwv8448MazJ+LfuI7PZ387GZA9J FhSA== X-Gm-Message-State: AOJu0Yynb84NzQ4dHxwAW5r9pOUSvx4OHfqYL2jnV3F/Z6kSITslm4BY 1KrKxmDZz+gIDEJi60RpmI4vK357n9ubxtRnt70= X-Received: by 2002:a05:6820:2484:b0:591:4861:6b02 with SMTP id cq4-20020a056820248400b0059148616b02mr25687361oob.1.1703156820529; Thu, 21 Dec 2023 03:07:00 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231221055144.24862-1-rdunlap@infradead.org> In-Reply-To: <20231221055144.24862-1-rdunlap@infradead.org> From: "Rafael J. Wysocki" Date: Thu, 21 Dec 2023 12:06:48 +0100 Message-ID: Subject: Re: [PATCH] thermal: cpuidle_cooling: fix kernel-doc warning and a spello To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, Amit Daniel Kachhap , Daniel Lezcano , Viresh Kumar , Lukasz Luba , "Rafael J . Wysocki" , Zhang Rui , linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 21, 2023 at 6:51=E2=80=AFAM Randy Dunlap wrote: > > Correct one misuse of kernel-doc notation and one spelling error as > reported by codespell. > > cpuidle_cooling.c:152: warning: cannot understand function prototype: 'st= ruct thermal_cooling_device_ops cpuidle_cooling_ops =3D ' > > 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_coo= ling.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 =3D { Applied as 6.8 material, thanks!