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] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1009132044590.2416@localhost6.localdomain6>
Date:	Mon, 13 Sep 2010 20:45:49 +0200 (CEST)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	Greg KH <greg@...ah.com>
cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <peterz@...radead.org>,
	Christoph Hellwig <hch@...radead.org>,
	Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: [patch 27/30] staging: Bulk convert the semaphore mess

On Wed, 8 Sep 2010, Greg KH wrote:

> On Wed, Sep 08, 2010 at 10:59:23AM +0200, Thomas Gleixner wrote:
> > On Tue, 7 Sep 2010, Greg KH wrote:
> > 
> > > On Tue, Sep 07, 2010 at 02:33:47PM -0000, Thomas Gleixner wrote:
> > > > init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Bulk convert
> > > > staging users.
> > > 
> > > I don't think you actually built this change:
> > > 
> > > > --- linux-2.6.orig/drivers/staging/comedi/drivers/usbdux.c
> > > > +++ linux-2.6/drivers/staging/comedi/drivers/usbdux.c
> > > > @@ -315,7 +315,7 @@ struct usbduxsub {
> > > >   */
> > > >  static struct usbduxsub usbduxsub[NUMUSBDUX];
> > > >  
> > > > -static DECLARE_MUTEX(start_stop_sem);
> > > > +static DEFINE_SEMAPHORE(start_stop_sem);
> > > >  
> > > >  /*
> > > >   * Stops the data acquision
> > > 
> > > I don't see DEFINE_SEMAPHORE() in Linus's tree, what should we use
> > > instead?
> > 
> > It's the first patch in the series, which I want to get Linus wards
> > now, so this does not trip over.
> 
> Ah, that makes sense.
> 
> Well, it didn't hurt for me to take the other portions of this patch,
> right?

Not at all. FYI, DEFINE_SEMAPHORE is now in Linus tree.

Thanks,

	tglx
--
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