* [PATCH] Staging: comedi: comedi_compat32: fixed a syntax error
@ 2016-12-26 6:26 Jonathan Villatoro
2017-01-03 10:48 ` Ian Abbott
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Villatoro @ 2016-12-26 6:26 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Ian Abbott, H Hartley Sweeten, devel, linux-kernel,
Jonathan Villatoro
Fixed a syntax error in the function definition's parameter.
Signed-off-by: Jonathan Horacio Villatoro Córdoba <lacho8713@gmail.com>
---
drivers/staging/comedi/comedi_compat32.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/comedi/comedi_compat32.h b/drivers/staging/comedi/comedi_compat32.h
index 5ce77f3..91d15c6 100644
--- a/drivers/staging/comedi/comedi_compat32.h
+++ b/drivers/staging/comedi/comedi_compat32.h
@@ -25,7 +25,7 @@
#ifdef CONFIG_COMPAT
struct file;
-long comedi_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
+long comedi_compat_ioctl(struct file *f, unsigned int cmd, unsigned long arg);
#else /* CONFIG_COMPAT */
--
2.10.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: comedi: comedi_compat32: fixed a syntax error
2016-12-26 6:26 [PATCH] Staging: comedi: comedi_compat32: fixed a syntax error Jonathan Villatoro
@ 2017-01-03 10:48 ` Ian Abbott
0 siblings, 0 replies; 2+ messages in thread
From: Ian Abbott @ 2017-01-03 10:48 UTC (permalink / raw)
To: Jonathan Villatoro, Greg Kroah-Hartman
Cc: H Hartley Sweeten, devel, linux-kernel
On 26/12/16 06:26, Jonathan Villatoro wrote:
> Fixed a syntax error in the function definition's parameter.
It's not really a syntax error, just a coding style issue.
>
> Signed-off-by: Jonathan Horacio Villatoro Córdoba <lacho8713@gmail.com>
> ---
> drivers/staging/comedi/comedi_compat32.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/comedi/comedi_compat32.h b/drivers/staging/comedi/comedi_compat32.h
> index 5ce77f3..91d15c6 100644
> --- a/drivers/staging/comedi/comedi_compat32.h
> +++ b/drivers/staging/comedi/comedi_compat32.h
> @@ -25,7 +25,7 @@
> #ifdef CONFIG_COMPAT
>
> struct file;
> -long comedi_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
> +long comedi_compat_ioctl(struct file *f, unsigned int cmd, unsigned long arg);
>
> #else /* CONFIG_COMPAT */
>
>
Thanks. There is an earlier patch for this that hasn't been applied yet.
http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2016-December/097854.html
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Web: http://www.mev.co.uk/ )=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-03 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-26 6:26 [PATCH] Staging: comedi: comedi_compat32: fixed a syntax error Jonathan Villatoro
2017-01-03 10:48 ` Ian Abbott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox