[PATCH] Staging: comedi: comedi_compat32: fixed a syntax error

Ian Abbott abbotti at mev.co.uk
Tue Jan 3 10:48:59 UTC 2017


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 at 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 at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list