Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1315734 > unrolled thread
| Started by | Colin King <colin.king@canonical.com> |
|---|---|
| First post | 2016-01-23 20:40 +0100 |
| Last post | 2016-01-24 15:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] Staging: iio: adc: fix indent on break statement Colin King <colin.king@canonical.com> - 2016-01-23 20:40 +0100
Re: [PATCH] Staging: iio: adc: fix indent on break statement Jonathan Cameron <jic23@kernel.org> - 2016-01-24 15:50 +0100
| From | Colin King <colin.king@canonical.com> |
|---|---|
| Date | 2016-01-23 20:40 +0100 |
| Subject | [PATCH] Staging: iio: adc: fix indent on break statement |
| Message-ID | <qUccp-7uA-3@gated-at.bofh.it> |
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> --- 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; -- 2.7.0.rc3
[toc] | [next] | [standalone]
| From | Jonathan Cameron <jic23@kernel.org> |
|---|---|
| Date | 2016-01-24 15:50 +0100 |
| Message-ID | <qUu9k-69p-9@gated-at.bofh.it> |
| In reply to | #1315734 |
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; >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web