RE: [PATCH 1/5] use mutex instead of semaphore in Megaraid Mailbox driver

2007-07-03 Thread Patro, Sumant
Thank you Matthias for the patch. Regards, Sumant -Original Message- From: Matthias Kaehlcke [mailto:[EMAIL PROTECTED] Sent: Sunday, July 01, 2007 9:29 AM To: DL-MegaRAID Linux; linux-scsi@vger.kernel.org Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PATCH 1/5] use mutex instead

[PATCH 1/5] use mutex instead of semaphore in Megaraid Mailbox driver

2007-07-01 Thread Matthias Kaehlcke
The Megaraid Mailbox driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/scsi/megaraid/mega_common.h b/drivers/scsi/megaraid/mega_common.h index 26e1e6c..fef9ac9 100644 --- a/drivers/