Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp78394rwl; Thu, 23 Mar 2023 12:58:46 -0700 (PDT) X-Google-Smtp-Source: AKy350bOUHTmjCNfZrWxuuV4YkuicgBIimG3C0rskNAEhJnsPVHOteU9tcrENS4o1DtCuHR23quh X-Received: by 2002:a17:902:ecc3:b0:1a1:e237:5f0 with SMTP id a3-20020a170902ecc300b001a1e23705f0mr25638plh.58.1679601526213; Thu, 23 Mar 2023 12:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679601526; cv=none; d=google.com; s=arc-20160816; b=xW2ABo8WuugAp3mFjKYB8hRlYP7f2BfD+Ofndpafed1NINxgUdpNsyF+4bpzqbAq3o 7uSC6uGtqMVi1TeiWvwxgyGe0emxdlWeAhFqnCKA/X+xWkV8nCwJhoKEpZTkwxlDcFQH 7AIvtDsEKSVigekVnEcS1374wVBKTL10/00x/GatmyT+a0nHc3F61/7lfOU/xHiJ0L2O TpYQzm1vaQENFdZ8vjhaXtPu4yldzGhJ0H+Z/KsgmhhFMXU2PX4fOZJMxb3xRW3gg+9r LFBagoGppWzMoCM2RBkEgbrbVhFdbelef/9in1QMHzuHn74z5AAKenns47YSTHMsX/Mn jLlQ== 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=jO6LrVvIvaoZRRQInuGap71JZS49bDrPQGqmKWF5rrU=; b=AkwN8xL1h2+nUYKq6Ifr/LZvOCszycIdPG+qGY9NiF7VFPzEB6zDlU4mLsUYUA1h2t YfE/afOoVp8WcmkJ3h64jnpNn6FMmSTRC0tR4VgaKuMV5PVjJh3O3xwcF9T0ke3qIrny 6ko+67JJwx/fGps+7ahyx5o/Q/usQLKalNiSO8tr0nI3NuWU7O7ezmkVGWQ6Ex3F3eRG zHFwTRgJxTr99f3pmHSneOA0HuRVMJJyxWUDB2WOm4fcefbxcWaqbVJygkGNQw/YoIMf 8IzI++rT4hyeullPZS73S2GFw8SJongkmuPvHRXQZirM3S3OPfi7alz02Pzepn6xwO2B NKgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=n4w0mIWM; 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=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020a170903124f00b0019e88c42997si21250292plh.104.2023.03.23.12.58.34; Thu, 23 Mar 2023 12:58:46 -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=@ucw.cz header.s=gen1 header.b=n4w0mIWM; 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=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230177AbjCWTrS (ORCPT + 99 others); Thu, 23 Mar 2023 15:47:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbjCWTrQ (ORCPT ); Thu, 23 Mar 2023 15:47:16 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F112A23A77; Thu, 23 Mar 2023 12:47:14 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id BB4FD1C0E45; Thu, 23 Mar 2023 20:47:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1679600833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jO6LrVvIvaoZRRQInuGap71JZS49bDrPQGqmKWF5rrU=; b=n4w0mIWMyNHiS0aD9D2kP5WHTqBCnHgX4iIiBs4becnTbyxVU6Pz5wo+xqbIJEy/pc5bHI lfMgBgcaLJkXV5+4R2Fk1RZcqGG0U1mrfFLOg3WpSmQSUhu1BD4XZ0+ChEShPx4oUhCJPt GmpRiGBg5KEjnhmPwcNHwtrkYmw1cl8= Date: Thu, 23 Mar 2023 20:47:13 +0100 From: Pavel Machek To: Tom Rix Cc: lee@kernel.org, quic_fenglinw@quicinc.com, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: flash: set varaiables mvflash_3,4ch_regs storage-class-specifier to static Message-ID: References: <20230317191341.1670660-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MlvgGa6aPZUA/Ytr" Content-Disposition: inline In-Reply-To: <20230317191341.1670660-1-trix@redhat.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 --MlvgGa6aPZUA/Ytr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2023-03-17 15:13:41, Tom Rix wrote: > smatch reports > drivers/leds/flash/leds-qcom-flash.c:103:18: warning: > symbol 'mvflash_3ch_regs' was not declared. Should it be static? > drivers/leds/flash/leds-qcom-flash.c:115:18: warning: > symbol 'mvflash_4ch_regs' was not declared. Should it be static? >=20 > These variables are only used in leds-qcom-flash.c, > so it should be static. >=20 > Signed-off-by: Tom Rix Acked-by: Pavel Machek BR, Pavel =09 --=20 People of Russia, stop Putin before his war on Ukraine escalates. --MlvgGa6aPZUA/Ytr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZByswQAKCRAw5/Bqldv6 8hQMAKCEU+lvVVTeYJd+VCSdUYTHj6c4cgCgijcjRaytSXdJ8jS6QfD1udDiL0s= =zJ1D -----END PGP SIGNATURE----- --MlvgGa6aPZUA/Ytr--