Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-30 Thread Randy Dunlap
On Tue, 31 Jul 2007 01:44:37 +0530 (IST) Satyam Sharma wrote: > > > On Mon, 30 Jul 2007, John W. Linville wrote: > > > On Mon, Jul 30, 2007 at 12:50:31PM +0530, Satyam Sharma wrote: > > > On Mon, 30 Jul 2007, Matthias Kaehlcke wrote: > > > > > > > [...] > > > > The Host AP driver uses a semaph

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-30 Thread Satyam Sharma
On Mon, 30 Jul 2007, John W. Linville wrote: > On Mon, Jul 30, 2007 at 12:50:31PM +0530, Satyam Sharma wrote: > > On Mon, 30 Jul 2007, Matthias Kaehlcke wrote: > > > > > [...] > > > The Host AP driver uses a semaphore as mutex. Use the mutex API > > > instead of the (binary) semaphore. > > > >

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-30 Thread Satyam Sharma
On Mon, 30 Jul 2007, Andrew Morton wrote: > On Mon, 30 Jul 2007 19:09:38 +0200 > Michael Buesch <[EMAIL PROTECTED]> wrote: > > > On Monday 30 July 2007, Satyam Sharma wrote: > > > > > > On Mon, 30 Jul 2007, Michael Buesch wrote: > > > > > > > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wr

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-30 Thread Andrew Morton
On Mon, 30 Jul 2007 19:09:38 +0200 Michael Buesch <[EMAIL PROTECTED]> wrote: > On Monday 30 July 2007, Satyam Sharma wrote: > > > > On Mon, 30 Jul 2007, Michael Buesch wrote: > > > > > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > > > > The Host AP driver uses a semaphore as mutex. Us

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-30 Thread John W. Linville
On Mon, Jul 30, 2007 at 12:50:31PM +0530, Satyam Sharma wrote: > > > On Mon, 30 Jul 2007, Matthias Kaehlcke wrote: > > > [...] > > > > The Host AP driver uses a semaphore as mutex. Use the mutex API > > instead of the (binary) semaphore. > > > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECT

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-30 Thread Michael Buesch
On Monday 30 July 2007, Satyam Sharma wrote: > > On Mon, 30 Jul 2007, Michael Buesch wrote: > > > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > > > The Host AP driver uses a semaphore as mutex. Use the mutex API > > > instead of the (binary) semaphore. > > > > > > Signed-off-by: Matth

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-30 Thread Satyam Sharma
On Mon, 30 Jul 2007, Matthias Kaehlcke wrote: > [...] > > The Host AP driver uses a semaphore as mutex. Use the mutex API > instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Reviewed-by: Satyam Sharma <[EMAIL PROTECTED]> - To unsubscribe from this lis

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-29 Thread Matthias Kaehlcke
El Mon, Jul 30, 2007 at 09:17:25AM +0530 Satyam Sharma ha dit: > Whoops ... > > > On Mon, 30 Jul 2007, Satyam Sharma wrote: > > > On Mon, 30 Jul 2007, Michael Buesch wrote: > > > > > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > > > > The Host AP driver uses a semaphore as mutex. Us

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-29 Thread Satyam Sharma
Whoops ... On Mon, 30 Jul 2007, Satyam Sharma wrote: > On Mon, 30 Jul 2007, Michael Buesch wrote: > > > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > > > The Host AP driver uses a semaphore as mutex. Use the mutex API > > > instead of the (binary) semaphore. > > > > > > Signed-off-b

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-29 Thread Satyam Sharma
On Mon, 30 Jul 2007, Michael Buesch wrote: > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > > The Host AP driver uses a semaphore as mutex. Use the mutex API > > instead of the (binary) semaphore. > > > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> [ Something seems to have

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-29 Thread Michael Buesch
On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > The Host AP driver uses a semaphore as mutex. Use the mutex API > instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> > > -- > > - res = down_interruptible(&local->rid_bap_sem); > + res = mut