Re: linux-next: Tree for February 1 [ staging/usbvideo/vicam.c: error: expected â;â before â)â token ]

From: Sedat Dilek
Date: Tue Feb 01 2011 - 03:32:57 EST


On Tue, Feb 1, 2011 at 5:34 AM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> Changes since 20110131:
>
> Dropped tree: xen
>
> The tty.current tree lost its conflict.
>
> The slab tree still has its build failure so I used the version from
> next-20110121.
>
> The suspend tree lost its build failure.
>
> The sparc64 defconfig build has been fixed.
>
> The powerpc allyesconfig build has been broken by some obscure bloating
> of the low memory code.
>
> ----------------------------------------------------------------------------

[ CC greg-kh ]

Build error:
...
drivers/staging/usbvideo/vicam.c:222:57: error: expected â;â before â)â token
drivers/staging/usbvideo/vicam.c:222:57: error: expected statement
before â)â token
...

This should be fixed by:

Index: linux-next-20110201/drivers/staging/usbvideo/vicam.c
===================================================================
--- linux-next-20110201.orig/drivers/staging/usbvideo/vicam.c
+++ linux-next-20110201/drivers/staging/usbvideo/vicam.c
@@ -219,7 +219,7 @@ set_camera_power(struct vicam_camera *ca
{
int status;

- status = send_control_msg(cam, 0x50, state, 0, NULL, 0));
+ status = send_control_msg(cam, 0x50, state, 0, NULL, 0);
if (status < 0)
return status;

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/