Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1706692
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iio: adc: Fix coding style violations |
| Date | 2017-08-08 18:00 +0200 |
| Message-ID | <ucf5g-258-9@gated-at.bofh.it> (permalink) |
| References | <ucbuG-8cT-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2017-08-08 at 14:04 +0200, Michal Simek wrote:
> From: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
[]
> diff --git a/drivers/iio/adc/xilinx-xadc.h b/drivers/iio/adc/xilinx-xadc.h
[]
> @@ -76,7 +76,7 @@ struct xadc_ops {
> int (*setup)(struct platform_device *pdev, struct iio_dev *indio_dev,
> int irq);
> void (*update_alarm)(struct xadc *, unsigned int);
> - unsigned long (*get_dclk_rate)(struct xadc *);
> + unsigned long (*get_dclk_rate)(struct xadc *xadc);
> irqreturn_t (*interrupt_handler)(int, void *);
Doesn't it seem odd to you that the lines above and below
have the same form?
checkpatch is an imperfect tool.
It will always be imperfect.
Please use your eyes and mind too.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] iio: adc: Fix coding style violations Michal Simek <michal.simek@xilinx.com> - 2017-08-08 14:10 +0200 Re: [PATCH] iio: adc: Fix coding style violations Joe Perches <joe@perches.com> - 2017-08-08 18:00 +0200
csiph-web