lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200911130821.13559.hverkuil@xs4all.nl>
Date:	Fri, 13 Nov 2009 08:21:13 +0100
From:	Hans Verkuil <hverkuil@...all.nl>
To:	"Stefan Lippers-Hollmann" <s.L-H@....de>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Mauro Carvalho Chehab <mchehab@...hat.com>,
	Greg KH <gregkh@...e.de>, Ross Cohen <rcohen@...rgle.org>,
	linux-media@...r.kernel.org
Subject: Re: V4L/DVB (12859): go7007: semaphore -> mutex conversion

On Friday 13 November 2009 01:01:27 Stefan Lippers-Hollmann wrote:
> Hi
> 
> On Friday 13 November 2009, Linux Kernel Mailing List wrote:
> > Gitweb:     http://git.kernel.org/linus/fd9a40da1db372833e1af6397d2f6c94ceff3dad
> > Commit:     fd9a40da1db372833e1af6397d2f6c94ceff3dad
> > Parent:     028d4c989ab9e839471739332d185f8f158b0043
> > Author:     Mauro Carvalho Chehab <mchehab@...hat.com>
> > AuthorDate: Tue Sep 15 11:07:59 2009 -0300
> > Committer:  Mauro Carvalho Chehab <mchehab@...hat.com>
> > CommitDate: Sat Sep 19 00:13:37 2009 -0300
> > 
> >     V4L/DVB (12859): go7007: semaphore -> mutex conversion
> >     
> >     Signed-off-by: Hans Verkuil <hverkuil@...all.nl>
> >     Signed-off-by: Mauro Carvalho Chehab <mchehab@...hat.com>
> 
> As already noticed by Pascal Terjan <pterjan@...il.com>
> 	http://lkml.indiana.edu/hypermail/linux/kernel/0909.3/00062.html
> go7007 currently fails to build in 2.6.32-rc6-git5
> 
>   LD      drivers/staging/go7007/built-in.o                                                      
>   CC [M]  drivers/staging/go7007/go7007-v4l2.o                                                   
>   CC [M]  drivers/staging/go7007/go7007-driver.o                                                 
>   CC [M]  drivers/staging/go7007/go7007-i2c.o                                                    
>   CC [M]  drivers/staging/go7007/go7007-fw.o                                                     
>   CC [M]  drivers/staging/go7007/snd-go7007.o                                                    
>   CC [M]  drivers/staging/go7007/s2250-board.o                                                   
> drivers/staging/go7007/s2250-board.c:24:26: error: s2250-loader.h: No such file or directory     
> drivers/staging/go7007/s2250-board.c: In function 'read_reg_fp':                                 
> drivers/staging/go7007/s2250-board.c:264: warning: passing argument 1 of 'down_interruptible' from incompatible pointer type                                                                      
> drivers/staging/go7007/s2250-board.c:273: warning: passing argument 1 of 'up' from incompatible pointer type                                                                                      
> drivers/staging/go7007/s2250-board.c: In function 's2250_init':                                  
> drivers/staging/go7007/s2250-board.c:670: error: implicit declaration of function 's2250loader_init'                                                                                              
> drivers/staging/go7007/s2250-board.c:676: error: implicit declaration of function 's2250loader_cleanup'                                                                                           
> make[6]: *** [drivers/staging/go7007/s2250-board.o] Error 1                                      
> make[5]: *** [drivers/staging/go7007] Error 2                                                    
> make[4]: *** [drivers/staging] Error 2                                                           
> make[3]: *** [drivers] Error 2        
> 
> >  drivers/staging/go7007/go7007-driver.c |   12 +++---
> >  drivers/staging/go7007/go7007-i2c.c    |   12 +++---
> >  drivers/staging/go7007/go7007-priv.h   |    6 +-
> >  drivers/staging/go7007/go7007-usb.c    |   10 ++--
> >  drivers/staging/go7007/go7007-v4l2.c   |   66 ++++++++++++++++----------------
> >  drivers/staging/go7007/go7007.txt      |    4 +-
> >  drivers/staging/go7007/s2250-board.c   |   18 ++++-----
> >  drivers/staging/go7007/s2250-loader.c  |    8 ++--
> >  drivers/staging/go7007/snd-go7007.c    |    2 +-
> >  9 files changed, 68 insertions(+), 70 deletions(-)
> 
> [...]
> > diff --git a/drivers/staging/go7007/s2250-board.c b/drivers/staging/go7007/s2250-board.c
> > index b398db4..f35f077 100644
> > --- a/drivers/staging/go7007/s2250-board.c
> > +++ b/drivers/staging/go7007/s2250-board.c
> > @@ -21,12 +21,10 @@
> >  #include <linux/i2c.h>
> >  #include <linux/videodev2.h>
> >  #include <media/v4l2-common.h>
> > +#include "s2250-loader.h"
> 
> s2250-loader.h is neither available in 
> 	git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> nor
> 	git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git
> although it seems to have been included in Hans' initial pull request 
> 	http://www.mail-archive.com/linux-media@vger.kernel.org/msg09506.html
> 
> >  #include "go7007-priv.h"
> >  #include "wis-i2c.h"
> >  
> > -extern int s2250loader_init(void);
> > -extern void s2250loader_cleanup(void);
> > -
> >  #define TLV320_ADDRESS      0x34
> >  #define VPX322_ADDR_ANALOGCONTROL1	0x02
> >  #define VPX322_ADDR_BRIGHTNESS0		0x0127
> [...]
> 
> This is a regression since 2.6.31.
> 
> Regards
> 	Stefan Lippers-Hollmann
> 

Thanks for reporting this. I have already received patches and will review
and queue them this weekend. I wasn't aware that 2.6.32 was also broken,
so this will be a high-prio item for me.

We should catch these things with the daily build process that we have, but
the daily build is effectively broken at the moment. I hope to address that
this weekend as well to get that back on track. I've been just too busy the
last two months to give it the attention it needs :-(

This is the second compilation error that was introduced in 2.6.32. I found
another one in the davinci drivers. This is really bad...

Fellow v4l-dvb developers: please don't let me be the only one who pays
attention to the daily build report! Just the fact that it is running on
my computer doesn't mean that I have to be the one to fix issues!

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ