[pvrusb2] New driver snapshot: pvrusb2-mci-20080210

Mike Isely isely at isely.net
Sun Feb 10 22:49:55 CST 2008


On Sun, 10 Feb 2008, Mike Isely wrote:

> On Sun, 10 Feb 2008, Mark Goldberg wrote:
> 
> > Compiling under FC8 Kernel 2.6.23.14-115.fc8, I get these warnings,
> > leading directory names removed to protect the innocent:
> > 
> > In file included from pvrusb2-mci-20080210/driver/pvrusb2-sysfs-sel.c:39:
> > pvrusb2-mci-20080210/driver/pvrusb2-sysfs.c: In function 'store_val_norm':
> > pvrusb2-mci-20080210/driver/pvrusb2-sysfs.c:293: warning: field
> > precision should have type 'int', but argument 4 has type 'size_t'
> > pvrusb2-mci-20080210/driver/pvrusb2-sysfs.c: In function 'store_val_custom':
> > pvrusb2-mci-20080210/driver/pvrusb2-sysfs.c:306: warning: field
> > precision should have type 'int', but argument 4 has type 'size_t'
> 
> My test platform right now is vanilla kernel 2.6.23.12 and I didn't get 
> these warnings.  I just checked again to be sure.  Can you try a vanilla 
> kernel?  The lines in question haven't changed for quite some time.

I just looked closer at the line in question.  I thought initially this 
was a prototype issue, but it's complaining about a printf format.  
That suggests a possible compiler difference.  What gcc version are you 
using?  I'll bet you should be getting this warning with older snapshots 
as well.


-- 
                        |         Mike Isely          |     PGP fingerprint
     Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                        |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                        |                             |


More information about the pvrusb2 mailing list