[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230407190121.7dfb598c@jic23-huawei>
Date: Fri, 7 Apr 2023 19:01:21 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Nuno Sá <noname.nuno@...il.com>
Cc: Tom Rix <trix@...hat.com>, lars@...afoo.de,
angelo.dureghello@...esys.com, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: dac: set varaiable max5522_channels
storage-class-specifier to static
On Tue, 04 Apr 2023 08:43:32 +0200
Nuno Sá <noname.nuno@...il.com> wrote:
> On Mon, 2023-04-03 at 21:38 -0400, Tom Rix wrote:
> > smatch reports
> > drivers/iio/dac/max5522.c:55:28: warning: symbol
> > 'max5522_channels' was not declared. Should it be static?
> >
> > This variable is only used in one file so it should be static.
> >
> > Signed-off-by: Tom Rix <trix@...hat.com>
> > ---
>
> Reviewed-by: Nuno Sa <nuno.sa@...log.com>
>
>
Applied to the togreg branch of iio.git (pushed out initially as testing)
with tweak in patch title to fix "variable"
Thanks,
Jonathan
Powered by blists - more mailing lists