lkml.org 
[lkml]   [2015]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c
Date
Hi Javier,

On Tuesday 22 December 2015 09:40:43 Javier Martinez Canillas wrote:
> On 12/22/2015 07:18 AM, Valdis Kletnieks wrote:
> > next-20151222 fails to build for me:
> > CC drivers/media/usb/uvc/uvc_driver.o
> >
> > drivers/media/usb/uvc/uvc_driver.c: In function 'uvc_probe':
> > drivers/media/usb/uvc/uvc_driver.c:1941:32: error: 'struct uvc_device' has
> > no member named 'mdev'>
> > if (media_device_register(&dev->mdev) < 0)
> > ^
> >
> > scripts/Makefile.build:258: recipe for target
> > 'drivers/media/usb/uvc/uvc_driver.o' failed
> >
> > 'git blame' points at that line being added in:
> >
> > commit 1590ad7b52714fddc958189103c95541b49b1dae
> > Author: Javier Martinez Canillas <javier@osg.samsung.com>
> > Date: Fri Dec 11 20:57:08 2015 -0200
> >
> > [media] media-device: split media initialization and registration
> >
> > Not sure what went wrong here.
>
> It was my forgetting to test with !CONFIG_MEDIA_CONTROLLER...
>
> Anyways, I've already posted a fix for this:
>
> https://lkml.org/lkml/2015/12/21/224

Thank you for the fix.

I know this is an unpopular request, but can't we make this MC rework series
bisectable ? We're introducing bugs, which is unavoidable given the scope of
the change, and I'm really worried about how difficult we'll make it to debug
them if we keep piling even compilation fixes on top.

I can spend a day this week rebasing the patches myself if that could help.

--
Regards,

Laurent Pinchart



\
 
 \ /
  Last update: 2015-12-22 19:21    [W:0.558 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site