Skip to contentSkip to conversation

Staging: media: omap24xx: Fixed error "space prohibited before that close parenthesis ')'"

PATCH In review Yeliz Taneroglu 2 participants 2 messages Feb 21, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: media: omap24xx: Fixed error "space prohibited before that close parenthesis ')'"

This patch fixes error 'space prohibited before that close parenthesis ')'' found by
checkpatch in driver media.

---
 drivers/staging/media/omap24xx/v4l2-int-device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/omap24xx/v4l2-int-device.h +1 -1
index 0286c95..666b55f 100644
@@ -292,7 +292,7 @@ V4L2_INT_WRAPPER_1(s_video_routing, struct v4l2_routing, *);
 
 V4L2_INT_WRAPPER_0(dev_init);
 V4L2_INT_WRAPPER_0(dev_exit);
-V4L2_INT_WRAPPER_1(s_power, enum v4l2_power, );
+V4L2_INT_WRAPPER_1(s_power, enum v4l2_power);
 V4L2_INT_WRAPPER_1(g_priv, void, *);
 V4L2_INT_WRAPPER_1(g_ifparm, struct v4l2_ifparm, *);
 V4L2_INT_WRAPPER_1(g_needs_reset, void, *);
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 14 lines · Yeliz Taneroglu

This patch fixes error 'space prohibited before that close parenthesis ')'' found by
checkpatch in driver media.

---
 drivers/staging/media/omap24xx/v4l2-int-device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/omap24xx/v4l2-int-device.h +0 -0
index 0286c95..666b55f 100644

drivers/staging/media/omap24xx/v4l2-int-device.h V4L2_INT_WRAPPER_1(s_video_routing, struct v4l2_routing, *); · line 295

Quoted 5 lines
drivers/staging/media/omap24xx/v4l2-int-device.h +1 -1
@@ -292,7 +292,7 @@ V4L2_INT_WRAPPER_1(s_video_routing, struct v4l2_routing, *);
 
 V4L2_INT_WRAPPER_0(dev_init);
 V4L2_INT_WRAPPER_0(dev_exit);
-V4L2_INT_WRAPPER_1(s_power, enum v4l2_power, );
+V4L2_INT_WRAPPER_1(s_power, enum v4l2_power);

You have removed an argument that is empty. I don't think that this code will compile.

Also, in my tree, this file doesn't exist. I have:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git

in the branch staging-next

julia

Quoted 13 lines
drivers/staging/media/omap24xx/v4l2-int-device.h +0 -1
 V4L2_INT_WRAPPER_1(g_priv, void, *);
 V4L2_INT_WRAPPER_1(g_ifparm, struct v4l2_ifparm, *);
 V4L2_INT_WRAPPER_1(g_needs_reset, void, *);
--

1.8.3.2

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424526583-11586-1-git-send-email-yeliztaneroglu%40gmail.com.
For more options, visit https://groups.google.com/d/optout.