Re: [PATCH 2/2] iio: adc: ti-ads131e08: Fix a style problem in struct declaration.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 20 Apr 2024 15:27:44 -0300
Lorenzo Bertin Salvador <lorenzobs@xxxxxx> wrote:

> There was a blank line missing after declarations in struct tmp_buf.
> 
> Co-developed-by: Briza Mel Dias de Sousa <brizamel.dias@xxxxxx>
> Signed-off-by: Briza Mel Dias de Sousa <brizamel.dias@xxxxxx>
> Signed-off-by: Lorenzo Bertin Salvador <lorenzobs@xxxxxx>
That's a checkpatch.pl (I assume) bug.
These are both declarations, just the second one is more complex than most :)

Feel free to try and fix check patch but this isn't something we are going
to 'fix' in code.

Thanks,

Jonathan

> ---
>  drivers/iio/adc/ti-ads131e08.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/adc/ti-ads131e08.c b/drivers/iio/adc/ti-ads131e08.c
> index cb04a29b3..fcc0276bf 100644
> --- a/drivers/iio/adc/ti-ads131e08.c
> +++ b/drivers/iio/adc/ti-ads131e08.c
> @@ -102,6 +102,7 @@ struct ads131e08_state {
>  	struct completion completion;
>  	struct {
>  		u8 data[ADS131E08_NUM_DATA_BYTES_MAX];
> +
>  		s64 ts __aligned(8);
>  	} tmp_buf;
>  





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux