[linux-dvb] dvb-ttpci oops with 2.6.12-git8 + head cvs

syrius.ml at no-log.org syrius.ml at no-log.org
Sat Nov 5 21:54:49 CET 2005


Jon Burgess <jburgess at uklinux.net> writes:

> Jon Burgess wrote:
>> Index: linux/drivers/media/dvb/dvb-core/dvbdev.c
>> ===================================================================
>> RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/dvb-core/dvbdev.c,v
>> retrieving revision 1.44
>> diff -u -p -r1.44 dvbdev.c
>> --- linux/drivers/media/dvb/dvb-core/dvbdev.c	1 Jul 2005 23:19:48 -0000	1.44
>> +++ linux/drivers/media/dvb/dvb-core/dvbdev.c	5 Nov 2005 17:15:19 -0000
>> @@ -235,7 +235,7 @@ int dvb_register_device(struct dvb_adapt
>>  			S_IFCHR | S_IRUSR | S_IWUSR,
>>  			"dvb/adapter%d/%s%d", adap->num, dnames[type], id);
>>  -	class_device_create(dvb_class, MKDEV(DVB_MAJOR,
>> nums2minor(adap->num, type, id)),
>> +	class_device_create(dvb_class, NULL, MKDEV(DVB_MAJOR, nums2minor(adap->num, type, id)),
>>  			    NULL, "dvb%d.%s%d", adap->num, dnames[type], id);
>>   	dprintk("DVB: register adapter%d/%s%d @ minor: %i (0x%02x)\n",
>> ------------------------------------------------------------------------
>> _______________________________________________
>> linux-dvb mailing list
>> linux-dvb at linuxtv.org
>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
> It looks like Greg added an identical change into git when he updated 
> the class API, but I guess this got lost somewhere.
>
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;h=477b4fa56430ab3c4305561277d489aafec1ef0e;hp=4b7adca3e286d2e5d2707a5795c895d0a59de82e;hb=53f4654272df7c51064825024340554b39c9efba;f=drivers/media/dvb/dvb-core/dvbdev.c

yep,
That seems to be ok with this correction.
Thanks Jon !


-- 



More information about the linux-dvb mailing list