patch-2.3.1 linux/drivers/scsi/gdth_proc.c
Next file: linux/drivers/scsi/hosts.c
Previous file: linux/drivers/scsi/eata_dma_proc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 12 13:27:37 1999
- Orig file:
v2.3.0/linux/drivers/scsi/gdth_proc.c
- Orig date:
Mon Apr 12 09:56:16 1999
diff -u --recursive --new-file v2.3.0/linux/drivers/scsi/gdth_proc.c linux/drivers/scsi/gdth_proc.c
@@ -931,7 +931,7 @@
static void gdth_do_cmd(Scsi_Cmnd *scp,gdth_cmd_str *gdtcmd,int timeout)
{
char cmnd[12];
- struct semaphore sem = MUTEX_LOCKED;
+ DECLARE_MUTEX_LOCKED(sem);
TRACE2(("gdth_do_cmd()\n"));
memset(cmnd, 0, 12);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)