[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230330130004.GN434339@google.com>
Date: Thu, 30 Mar 2023 14:00:04 +0100
From: Lee Jones <lee@...nel.org>
To: Tom Rix <trix@...hat.com>
Cc: pavel@....cz, quic_fenglinw@...cinc.com,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] leds: flash: set varaiables mvflash_3,4ch_regs
storage-class-specifier to static
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 <trix@...hat.com>
> ---
> 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 [李琼斯]
Powered by blists - more mailing lists