Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2090422rwl; Thu, 30 Mar 2023 06:02:53 -0700 (PDT) X-Google-Smtp-Source: AKy350aknbRK+3J7jGst3mjVxAdbpO+Xa7Kt5wjMcMCNlVm6Fkt/sLTuxGPokIuR0ZK/pGj87yPw X-Received: by 2002:a17:90a:bc83:b0:23f:6872:e37c with SMTP id x3-20020a17090abc8300b0023f6872e37cmr2319443pjr.0.1680181372869; Thu, 30 Mar 2023 06:02:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680181372; cv=none; d=google.com; s=arc-20160816; b=J7VRQpI1qdE7W+lyDU9/AP2pMyI2paXV0js6eT/dRG9T2edtyiKHF3J67rIbaI3il9 BrTWhbPqJjbYkS6nXfw58qyDFCJ3wvQBNVlhAs0/QZb3Lrzxj2FiWeD4CgBnBgYuTLYG GZYMDiG+yDZkU5OHgqAmgrvbM9vR4nSjSLyB/7Oeob2/8NdqczGkIANs3ghugnAeyYLx JgcoM6+ygGjm/9lKGd+k92fGa/YO1ejiDHxUwuy6O1sskCvcKYO33MzSvpsHghd28tgi WcyBDacxuj9t+5HoYvzlehHsNXjEXqZce5A6Db0Q5ZntAW1R9mxZoLSHHB9MM3xpOC/B t0aw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=imKNHBri7Xti1R+sQCW0amSPRR15NA2eo4Zmqpl8hog=; b=MafM4zwG6elx3Fnw8iv0PHFrD1AD6lKNA2IY4gN5REpdNBdekkyK0GUpHF7CkJIBib bzRGlD8AoHLdZNIXqvVK1WyJ6Vmhcg0zi5q6pdjRhVWIE2hS2MlEzB58qr4jZjrioG2j sTJ4Gsa1xQNETnsLMS1403xaASFX46bdw9xmZL1jaNC+2j/Ueq3YarpefThZusbawafV aUY5Zjqq+HVxHol01ftiL5mrencgp/syNxuKIq3WrT0ztWJdZECFDm0bR6rkPaPu42tJ DZqKZe0e7fCd5wDWplXeRW8tyzqVQh26yJObT7VarbY4ydPuMUHgR1DO+UvHZMx4DET+ WkAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EGgAKfDn; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mi15-20020a17090b4b4f00b0023f0bda978bsi4097887pjb.49.2023.03.30.06.02.40; Thu, 30 Mar 2023 06:02:52 -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=@kernel.org header.s=k20201202 header.b=EGgAKfDn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230165AbjC3NAZ (ORCPT + 99 others); Thu, 30 Mar 2023 09:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231732AbjC3NAX (ORCPT ); Thu, 30 Mar 2023 09:00:23 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A32EAD27; Thu, 30 Mar 2023 06:00:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id ECBA8CE2A67; Thu, 30 Mar 2023 13:00:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0314CC433D2; Thu, 30 Mar 2023 13:00:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680181208; bh=lQjT9u0QiI93GzA4zuiaCmVz/t8Vr34KEmtX0zEjsWo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EGgAKfDnmn1bK04UtJg9001JUdYjVM8JejGQNguo5mn6m5ExHmwleJrcZ0smOEGzS vBPiLlvo0r/WvjIpUFrum18B6eJo442F5NgcnrK2NOxQQ/7DXnBfOCNuI1RQS1xddQ 1idQt6Xpj/jzElx70h7DfDv31JhWWVI/1bON2Kwc53Ac/B412bSX4k7XtJJFebqhDx y3wJJC5VoaKVau28PQJTB5NFEx6qBKhTZZejtIodeImkFJVzz1Hn455odKflpHFNIM iS4giE87UuUseFO0JmmEKJfxI0pJRTknBPyNLJkjzWC1/ytBEr/BRk/oyuuq6oNjyB Jx/zwBLgBj9mQ== Date: Thu, 30 Mar 2023 14:00:04 +0100 From: Lee Jones To: Tom Rix Cc: pavel@ucw.cz, 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: <20230330130004.GN434339@google.com> References: <20230317191341.1670660-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230317191341.1670660-1-trix@redhat.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 On Fri, 17 Mar 2023, 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? > > These variables are only used in leds-qcom-flash.c, > so it should be static. > > Signed-off-by: Tom Rix > --- > drivers/leds/flash/leds-qcom-flash.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) I fixed-up some spelling / formatting issues and ... Applied, thanks -- Lee Jones [李琼斯]