Messages in this thread | | | Subject | Re: [PATCH] Staging: iio: adc: fix indent on break statement | From | Jonathan Cameron <> | Date | Sun, 24 Jan 2016 14:49:01 +0000 |
| |
On 23/01/16 19:33, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > Fix indent warning when building with gcc 6: > drivers/staging/iio/adc/ad7192.c:239:4: warning: statement is indented > as if it were guarded by... [-Wmisleading-indentation] > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play with it.
Thanks,
Jonathan > --- > drivers/staging/iio/adc/ad7192.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c > index 9221103..92f2b72 100644 > --- a/drivers/staging/iio/adc/ad7192.c > +++ b/drivers/staging/iio/adc/ad7192.c > @@ -236,7 +236,7 @@ static int ad7192_setup(struct ad7192_state *st, > st->mclk = pdata->ext_clk_hz; > else > st->mclk = AD7192_INT_FREQ_MHZ; > - break; > + break; > default: > ret = -EINVAL; > goto out; >
| |