[pvrusb2] latest snapshot is failing to build with 2.6.37

Mike Isely isely at isely.net
Wed Jan 5 08:14:37 CST 2011


Given that the in-kernel driver is obviously building fine, then this is 
just a case of me needing to pull back the patches that deal with this 
change (and ifdef the changes so that the driver continues to build OK 
with older kernels).

I will get this dealt with but the absolute earliest I will be able to 
take care of it will be Friday.  My day-job has me completely saturated 
through Thursday night.

  -Mike


On Wed, 5 Jan 2011, JE Geiger wrote:

> Same results here.  Using 2.6.37.
> 
> 
> 
> Looks like they diddled the functions around
> 
> v4l: subdev: Merge v4l2_i2c_new_subdev_cfg and v4l2_i2c_new_subdev
> 
> in 2.6.37.
> 
> 
> 
> Took me so long to compile that you probably already have the fix.
> 
> Send to the list when new snapshot is ready and I will retry.
> 
> Don't you just love API changes after all this time.....
> 
> On Wed, Jan 5, 2011 at 7:53 AM, Mike Isely <isely at isely.net> wrote:
> >
> > Well he did say 2.6.37 in the subject line...
> >
> > I was just thinking about this.
> >
> > In any case right now I believe the in-kernel driver is currently up to
> > date with respect to the snapshot, but I will work this out and get a
> > new snapshot ready ASAP.
> >
> >  -Mike
> >
> >
> > On Wed, 5 Jan 2011, JE Geiger wrote:
> >
> >> What version of the kernel are you building against/with ???
> >>
> >> On Wed, Jan 5, 2011 at 5:26 AM, devsk <funtoos at yahoo.com> wrote:
> >> > /usr/src/pvrusb2-mci-20100708/driver/pvrusb2-hdw.c: In function
> >> > 'pvr2_hdw_load_subdev':
> >> > /usr/src/pvrusb2-mci-20100708/driver/pvrusb2-hdw.c:2576:7: warning: passing
> >> > argument 4 of 'v4l2_i2c_new_subdev' makes integer from pointer without a
> >> > castinclude/media/v4l2-common.h:148:35: note: expected 'u8' but argument is of
> >> > type 'const char *'
> >> > /usr/src/pvrusb2-mci-20100708/driver/pvrusb2-hdw.c:2576:7: warning: passing
> >> > argument 5 of 'v4l2_i2c_new_subdev' makes pointer from integer without a cast
> >> > include/media/v4l2-common.h:148:35: note: expected 'const short unsigned int *'
> >> > but argument is of type 'short unsigned int'
> >> > /usr/src/pvrusb2-mci-20100708/driver/pvrusb2-hdw.c:2576:7: error: too many
> >> > arguments to function 'v4l2_i2c_new_subdev'
> >> > include/media/v4l2-common.h:148:35: note: declared here
> >> > /usr/src/pvrusb2-mci-20100708/driver/pvrusb2-hdw.c:2596:7: warning: passing
> >> > argument 4 of 'v4l2_i2c_new_subdev' makes integer from pointer without a cast
> >> > include/media/v4l2-common.h:148:35: note: expected 'u8' but argument is of type
> >> > 'const char *'
> >> > /usr/src/pvrusb2-mci-20100708/driver/pvrusb2-hdw.c:2596:7: error: too many
> >> > arguments to function 'v4l2_i2c_new_subdev'
> >> > include/media/v4l2-common.h:148:35: note: declared here
> >> > make[2]: *** [/usr/src/pvrusb2-mci-20100708/driver/pvrusb2-hdw.o] Error 1
> >> > make[1]: *** [_module_/usr/src/pvrusb2-mci-20100708/driver] Error 2
> >> > make[1]: Leaving directory `/var/tmp/linux'
> >> > make: *** [modules] Error 2
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > pvrusb2 mailing list
> >> > pvrusb2 at isely.net
> >> > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> >> >
> >> _______________________________________________
> >> pvrusb2 mailing list
> >> pvrusb2 at isely.net
> >> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> >>
> >
> > --
> >
> > Mike Isely
> > isely @ isely (dot) net
> > PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
> > _______________________________________________
> > pvrusb2 mailing list
> > pvrusb2 at isely.net
> > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> >
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> 

-- 

Mike Isely
isely @ isely (dot) net
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8


More information about the pvrusb2 mailing list