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

From: Ian Abbott
Date: Tue Jan 03 2017 - 05:51:46 EST


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