RE: linux-next: Tree for Jun 7 (staging/ccg #2)

Andrzej Pietrasiewicz
2012-06-11T08:44:45Z

Hello,

On Thursday, June 07, 2012 10:59 PM Alan Stern wrote:

<snip>
>
> The problems above are caused by the fact that
> drivers/staging/ccg/Kconfig does not make USB_G_CGG dependent on BLOCK.

@Randy: Thanks for finding it.

@Alan: Thanks for suggesting a solution.

>
> > In file included from drivers/staging/ccg/ccg.c:59:0:
> > drivers/staging/ccg/../../usb/gadget/f_fs.c: At top level:
> > drivers/staging/ccg/../../usb/gadget/f_fs.c:40:0: warning: "pr_vdebug"
> redefined
> > drivers/staging/ccg/../../usb/gadget/u_serial.c:138:0: note: this is the
> location of the previous definition
>
> This could be fixed by adding a #ifndef guard to f_fs.c and u_serial.c.
> It's a little awkward to combine independent source files this way.
>
@Randy: Thanks for finding it.

@Alan: Thanks for suggesting a solution.

The patches are on their way.

Andrzej