Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp591876ybm; Thu, 28 May 2020 10:10:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCVq2DDvu4CBl2gLwWWXtiyLs+TD0nTh4cY86/YbGumeZu+gyTg2HlY2EbkW+898WkVSh3 X-Received: by 2002:a17:906:49c7:: with SMTP id w7mr4146420ejv.402.1590685849328; Thu, 28 May 2020 10:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590685849; cv=none; d=google.com; s=arc-20160816; b=BFqaoRMDz3yd5NWyTKBjLEq4lpyjscOaGS9wjadQBEgkUVaHqg885oDMhIB07/8myC 7ii3YA+IWwrT03h29f03OFIGM2vnya+KZJDC91O+ZnFBtTxV+MzuNHbu0XX0vcS9enmg 2iJ8BQL6XOxDz1SK0Lz2Iq+2nyIpNi/QOBt7ErQRUXhjMEjJd67jpCj0kCbAazK5OsTK kllYClmKJW5cpszHdadHSAVXXfQ8PV0v8N76BmIiQ76OuvR1jOxC8orB+v1W9+pAopfv YZAr4HtT0jrm6w+Z+U20k0p69odBaNctV3zP+x9LU8Cco8j8IQlD/1BedmgDkHCubbwu Oe6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=x0DOVn4YGH8Vb9juV/7J0nNkRwpa6Gi/7dwBpcFlRXQ=; b=aQSne2OlXal/s09U1AEAq1n0QtFXhwzyWCXMhqXImaxU7bVkpAYZ/HnOQiSReUy6vR aNefKiBHGA2zg8zk5qp1cg24MVvk48M8FF1d4jsg2SymXqXNU6af3lpv0It68/HSnzO6 kXzru6UxBae18IKrt/nl+sNw1lUl7DFWJSxBlkH9tUid27j5taN9qfMaWdUwsQW0hSoV vd/4mdh2qMkgAdsp4yHPivg+VAcgLa6C8+NUFdo31eUUFQfcaWDALuLLWktQqiQIpoLO jInBRWbaeZS7RMqI5eFh79JfgQdCO0Ot2Q7bzdtnHGpNMwfawfdZhyJXkiBoAY9qzBST YSjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qx7si4148457ejb.526.2020.05.28.10.10.26; Thu, 28 May 2020 10:10:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405557AbgE1RHo (ORCPT + 99 others); Thu, 28 May 2020 13:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405353AbgE1RHm (ORCPT ); Thu, 28 May 2020 13:07:42 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EF29C08C5C6; Thu, 28 May 2020 10:07:42 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id D51192A40C2 Received: by earth.universe (Postfix, from userid 1000) id 37F423C08C7; Thu, 28 May 2020 19:07:38 +0200 (CEST) Date: Thu, 28 May 2020 19:07:38 +0200 From: "sre@kernel.org" To: "Vaittinen, Matti" Cc: "zou_wei@huawei.com" , "andriy.shevchenko@linux.intel.com" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH -next] power: supply: Make bd9995x_chip_reset static Message-ID: <20200528170738.32oxzc5qdumhpm2r@earth.universe> References: <1589195577-8723-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dxex3npwl3gkrjhu" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --dxex3npwl3gkrjhu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, May 11, 2020 at 11:22:26AM +0000, Vaittinen, Matti wrote: > On Mon, 2020-05-11 at 19:12 +0800, Samuel Zou wrote: > > Fix the following sparse warning: > >=20 > > drivers/power/supply/bd99954-charger.c:1028:6: warning: symbol > > 'bd9995x_chip_reset' was not declared. > >=20 > > The bd9995x_chip_reset() has only one call site within bd99954- > > charger.c > > It should be static > >=20 > > Fixes: 0902f8366491 ("power: supply: Support ROHM bd99954 charger") > > Reported-by: Hulk Robot > > Signed-off-by: Samuel Zou >=20 > Reviewed-by: Matti Vaittinen Thanks, queued. -- Sebastian > > --- > > drivers/power/supply/bd99954-charger.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > diff --git a/drivers/power/supply/bd99954-charger.c > > b/drivers/power/supply/bd99954-charger.c > > index 3da39c7..ffd8bfa 100644 > > --- a/drivers/power/supply/bd99954-charger.c > > +++ b/drivers/power/supply/bd99954-charger.c > > @@ -1025,7 +1025,7 @@ static int bd9995x_fw_probe(struct > > bd9995x_device *bd) > > return 0; > > } > > =20 > > -void bd9995x_chip_reset(void *bd) > > +static void bd9995x_chip_reset(void *bd) > > { > > __bd9995x_chip_reset(bd); > > } >=20 --dxex3npwl3gkrjhu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl7P79oACgkQ2O7X88g7 +pqj7A//QIQeWhIyRQRuOKZY2FpRD24XWskaevbRknmfHHWTFwJN8QeANMtLDoos itYffuxiLJkGIjXQ9MVk4bfu21JjEMw7lrSIZ5lMN/qEQtTyJIyEke2ZBUSUaDR1 gkRz3cYfK85H17FsceedBLlUmAkvQxlZAUyJuz5CleB6HALADVJ9QDJG9NFDgAPf hxRf66ePHdA6ryji2KU3nkAG+0hFYfc5z1K8oWm2I51HYzbCs0A2P0l8+zUgq852 MV7IwNIH8FaHdI993nxVjjfExuA28n6HNA3E7X9bLcCpQA+SZLOyNS7YaNjYryy3 8zpNVTxXj9RdPtKqIpPqpFWkZYAQ+23suMjBpFwxBqLc090b47LEbvnHJ1LGal4C TAJHKkZWKvuaLqVLfQadGen6CuLGzNPiTnUjecDJ1GHfImbyHud36kt+J6bCUXIE QyBu1R/Kpw2KSrbpjBduMdiCQUo9g6ocpvJDB47rP7x7lqR0WmG/H1tZTmreD2dB zRIfeBonlz11Q4RfK2BnB6kcMkk3mR1xGInDFkulEO1FeQsBPUKQTWv1CKL4NNdk 0tnzw5h4VoxdjYkx+qpJfUjUdLFi2ljiMNorzdSFtrJFp6424vBWDKlTRWAEACI5 31nT44oZ7580kvnX3tBVJUxJi/M5kr/ZtPFu0CYq8LdeeGSINsE= =1rwd -----END PGP SIGNATURE----- --dxex3npwl3gkrjhu--