Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: black screen on 2.6.8-rc2 (2.6.8-rc1 works) (and no audio but OSD)



Hello,

as found in this list :

Johannes Stezenbach wrote:

It seems Al Viro broke dvb_usercopy():

--- dvb_functions.c.orig        2004-07-28 20:39:23.000000000 +0200
+++ dvb_functions.c     2004-07-28 20:21:23.000000000 +0200
@@ -36,7 +36,7 @@ int dvb_usercopy(struct inode *inode, st
         /*  Copy arguments into temp kernel buffer  */
         switch (_IOC_DIR(cmd)) {
         case _IOC_NONE:
-                parg = NULL;
+                parg = (void *) arg;
                 break;
         case _IOC_READ: /* some v4l ioctls are marked wrong ... */
         case _IOC_WRITE:

That solves my issue with 2.6.8-rc2 :-)
-- 
	Grégoire Favre
________________________________________________________________________
http://magma.epfl.ch/greg ICQ:16624071 mailto:Gregoire.Favre@freesurf.ch




Home | Main Index | Thread Index