Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1825834imw; Sat, 16 Jul 2022 16:09:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tMu0eO82+25k1EUCEo6o5f0KPvykb5RDXvNG78HXyMOSSLQVC2I3+CC/Q8i81llQ+kgBJL X-Received: by 2002:a17:902:fe0c:b0:16c:1683:2dfd with SMTP id g12-20020a170902fe0c00b0016c16832dfdmr20213232plj.24.1658012954629; Sat, 16 Jul 2022 16:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658012954; cv=none; d=google.com; s=arc-20160816; b=DniN8ULYf4/9vat42oYKZpkww1BD1/OdcP/+OYhFc84Ue6DLCJjUncvZmoVKpYNpI0 RrfZHfGaFUz49BqIPslyZSuy8TiOMKIlABcaFfppNAYTPEwUZLEjKGmKWb2e0bZ/dYpk D3A8JcmtOF0pMlyNcob+17AFZ3LjAjF0lRM+v/yyqlBlKAbKoH9Jjtysp1Q9FGp7sbAD h/dxTMV7lOXk26BjVbpLyHZH/dRW/1BBHLzK05j2z64dWjHfDCsyyptRutrzf+pXPIOI gbMy2oVx9TAxEjoS/r7h1obtn3FekQUUU2ct9cOkYB1pStljvR3zCbmz+Ltx75brSQjD of0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PROTFUKbWAsWZSzqV80/G2yZyucZZm8NgLC9TBQCNFc=; b=jeNYvyPSTzqUHpmb78boMXpwMp7DmKSicD75n55nJYQm/+EvzXpwwDnhJ6UEjZl1Qe G009grhky7ECGxSHRl7z1YrGgU73oENv4z1YlWhgJ+n92R5gthtaipApDU6nXQ3nBhOA aXYyCxtmHX57m+2jhQOihoxLvo4n5lu5KAOAlYfV7elvgIU72zOJ/ZOBAtBfSbH960zJ Dy5npDDTF5kB5LiDeC+sBy7+P8KFAdgur6rqpri5D+KTjS2ZNLan60kimLTEdhb663gx c0x67cLo6+tJolgu8/CFmP6/zWHOQzgDoB0hHijqrDPU8/hEkBOfD1mBSRjEVGkldaI4 HrdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=VbtLMZ1S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020a170903244500b00158bfb59d03si8339571pls.382.2022.07.16.16.09.00; Sat, 16 Jul 2022 16:09:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=VbtLMZ1S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232823AbiGPXEf (ORCPT + 99 others); Sat, 16 Jul 2022 19:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230374AbiGPXEf (ORCPT ); Sat, 16 Jul 2022 19:04:35 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F01C13D3C; Sat, 16 Jul 2022 16:04:34 -0700 (PDT) Received: from mercury (unknown [185.209.196.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3694466015B0; Sun, 17 Jul 2022 00:04:33 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658012673; bh=E5qEU7CbOfY7rZMsExFLr3maD3YA8JZcjIGFGM+rmjQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VbtLMZ1Sv0AM7ZXXTDaSUyTasBS26hC9GPPIg/NFWXpyVIpvVzPlf1t82YDouSAAN Gscsz/omPRJpKfrqNfv6L5JkBYrqWheHqECOV3SM/n+rYKO/42Hah+ZA4dUXiKV9WT fa/OoYoF0VM7JdOdw69jKYow99Fv86FarWxzNveP88QkLpy1nUK7pHlS2ba0F4cFed k6fZhu7eu+Q1OPu+rsKEVjkIZVeWqoeJ/rIIKrEBw0lwoucBbUJ+EwRXGLuxB50xmd I9L+WYC8+hgYhA9VAnZHJMleARnbO1E5Eezzx1FXwLlggvdQYrQwye3o9XR9tLLbIb 8GFnJtGeZ+QHQ== Received: by mercury (Postfix, from userid 1000) id C73271060428; Sun, 17 Jul 2022 01:04:30 +0200 (CEST) Date: Sun, 17 Jul 2022 01:04:30 +0200 From: Sebastian Reichel To: Jiang Jian Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] power: supply: ab8500_fg: drop unexpected word 'is' in the comments Message-ID: <20220716230430.qkv524wrlw5ct2nh@mercury.elektranox.org> References: <20220622171410.5467-1-jiangjian@cdjrlc.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="36qeumywz7deknmz" Content-Disposition: inline In-Reply-To: <20220622171410.5467-1-jiangjian@cdjrlc.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --36qeumywz7deknmz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Jun 23, 2022 at 01:14:10AM +0800, Jiang Jian wrote: > there is an unexpected word 'is' in the comments that need to be dropped >=20 > file - drivers/power/supply/ab8500_fg.c > line - 415 >=20 > * The capacity filter is is reset to zero. >=20 > changed to: >=20 > * The capacity filter is reset to zero. >=20 > Signed-off-by: Jiang Jian > --- Thanks, queued with shortened commit message. No need to describe what exactly has changed, that's obvious from the patch diff... Instead commit messages should say _why_ something changed, so in this case something along the lines 'fix word duplication' is enough. -- Sebastian > drivers/power/supply/ab8500_fg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab85= 00_fg.c > index 4339fa9ff009..12eafeca83e1 100644 > --- a/drivers/power/supply/ab8500_fg.c > +++ b/drivers/power/supply/ab8500_fg.c > @@ -412,7 +412,7 @@ static int ab8500_fg_add_cap_sample(struct ab8500_fg = *di, int sample) > * ab8500_fg_clear_cap_samples() - Clear average filter > * @di: pointer to the ab8500_fg structure > * > - * The capacity filter is is reset to zero. > + * The capacity filter is reset to zero. > */ > static void ab8500_fg_clear_cap_samples(struct ab8500_fg *di) > { > --=20 > 2.17.1 >=20 --36qeumywz7deknmz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmLTQ/4ACgkQ2O7X88g7 +prKfA/+M7F7yHmV3yAcgrUDT3uYtFYOgQhzFSsm81UuEe9hl77uN/WVvvvYlipy q1k4JT03zhzikZile6RI4UwkW6Dl2o0jikyWVktJHiC+ZhGSuaT0e4Scw3VKd+RG wZESHtso+5DxPLzrsraXcxjASGgPrHNb5dzLB2BSEqNYs3iz2QFC5GCnzePgGc8J 1d8yof5B4WH7SrNDSaGABg3KP6pIHSmGfx2Ki0gTQ+wJUdKU2iXblkdw+/8bw/iy lVlR6DA05QEO+i2F7M9ZcAcvuEw/cHYBzg8R7m3Xx2sEuSlloXZKM/o86QCohU33 fquWBamyKieRCwXhKbVP9sjRsNNNG/Nl7J7yPYU5hAB+JPb89cJZiLBU9fHvVsUS mHZJzgHOlMWVCNN0c6m+2+eCGZRCeGMaK/wKw+ZqlNsQgtPPrz9GGJ6SMRZ7qOXd zYfjGjl3QNFg3Xa3Qqqy3IXS4MyVPH4/1hxkqBbCWXTMOneZduu1UV1AfgSubeNG u8UcW+8Drf5BbcqDBZaO4GegbEvPVHDVKprw1qZztc7DRfqZde2NvCh4vqZdX1TM IE7VHvW+KfxfAALB8G45UdQxc4VmMaW6J59tFoJTJle8pf6gdQV3rskM1m/ML5pv TaVQKymlaybvhDP0sIRBqczm+rQOT+XyjLmcbYqRwPpCDXH0Ssk= =Mbza -----END PGP SIGNATURE----- --36qeumywz7deknmz--