mbox series

[0/2] IIO: Clean up a couple of warnings that snuck in.

Message ID 20220807145457.646062-1-jic23@kernel.org (mailing list archive)
Headers show
Series IIO: Clean up a couple of warnings that snuck in. | expand

Message

Jonathan Cameron Aug. 7, 2022, 2:54 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

I'm not sure how these slipped through my local tests and 0-day.
These are definitely shown with W=1, perhaps not without that
but IIO is generally W=1 clean.

Jonathan Cameron (2):
  iio: test: Mark file local structure arrays static.
  iio: light: cm32181: Mark the dev_pm_ops static.

 drivers/iio/light/cm32181.c         | 2 +-
 drivers/iio/test/iio-test-rescale.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Andy Shevchenko Aug. 8, 2022, 9:15 a.m. UTC | #1
On Sun, Aug 7, 2022 at 4:50 PM Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> I'm not sure how these slipped through my local tests and 0-day.
> These are definitely shown with W=1, perhaps not without that
> but IIO is generally W=1 clean.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

> Jonathan Cameron (2):
>   iio: test: Mark file local structure arrays static.
>   iio: light: cm32181: Mark the dev_pm_ops static.
>
>  drivers/iio/light/cm32181.c         | 2 +-
>  drivers/iio/test/iio-test-rescale.c | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> --
> 2.37.1
>
Jonathan Cameron Aug. 13, 2022, 3:57 p.m. UTC | #2
On Mon, 8 Aug 2022 11:15:52 +0200
Andy Shevchenko <andy.shevchenko@gmail.com> wrote:

> On Sun, Aug 7, 2022 at 4:50 PM Jonathan Cameron <jic23@kernel.org> wrote:
> >
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > I'm not sure how these slipped through my local tests and 0-day.
> > These are definitely shown with W=1, perhaps not without that
> > but IIO is generally W=1 clean.  
> 
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Applied. Thanks,

Jonathan

> 
> > Jonathan Cameron (2):
> >   iio: test: Mark file local structure arrays static.
> >   iio: light: cm32181: Mark the dev_pm_ops static.
> >
> >  drivers/iio/light/cm32181.c         | 2 +-
> >  drivers/iio/test/iio-test-rescale.c | 4 ++--
> >  2 files changed, 3 insertions(+), 3 deletions(-)
> >
> > --
> > 2.37.1
> >  
> 
>