On Sun, Aug 07, 2022 at 03:54:56PM +0100, Jonathan Cameron wrote: > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > Warning cleanup: > drivers/iio/test/iio-test-rescale.c:32:30: warning: symbol 'scale_cases' was not declared. Should it be static? > drivers/iio/test/iio-test-rescale.c:480:30: warning: symbol 'offset_cases' was not declared. Should it be static? > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > Cc: Liam Beguin <liambeguin@xxxxxxxxx> Reviewed-by: Liam Beguin <liambeguin@xxxxxxxxx> > --- > drivers/iio/test/iio-test-rescale.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/iio/test/iio-test-rescale.c b/drivers/iio/test/iio-test-rescale.c > index cc782ccff880..31ee55a6faed 100644 > --- a/drivers/iio/test/iio-test-rescale.c > +++ b/drivers/iio/test/iio-test-rescale.c > @@ -29,7 +29,7 @@ struct rescale_tc_data { > const char *expected_off; > }; > > -const struct rescale_tc_data scale_cases[] = { > +static const struct rescale_tc_data scale_cases[] = { > /* > * Typical use cases > */ > @@ -477,7 +477,7 @@ const struct rescale_tc_data scale_cases[] = { > }, > }; > > -const struct rescale_tc_data offset_cases[] = { > +static const struct rescale_tc_data offset_cases[] = { > /* > * Typical use cases > */ > -- > 2.37.1 >