patch-2.4.14 linux/drivers/message/i2o/i2o_proc.c
Next file: linux/drivers/mtd/chips/cfi_cmdset_0002.c
Previous file: linux/drivers/message/i2o/i2o_pci.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Oct 25 13:53:47 2001
- Orig file:
v2.4.13/linux/drivers/message/i2o/i2o_proc.c
- Orig date:
Tue Oct 23 22:48:51 2001
diff -u --recursive --new-file v2.4.13/linux/drivers/message/i2o/i2o_proc.c linux/drivers/message/i2o/i2o_proc.c
@@ -955,13 +955,14 @@
i2o_driver_result_table *result;
i2o_driver_store_table *dst;
- spin_lock(&i2o_proc_lock);
len = 0;
result = kmalloc(sizeof(i2o_driver_result_table), GFP_KERNEL);
if(result == NULL)
return -ENOMEM;
+
+ spin_lock(&i2o_proc_lock);
token = i2o_query_table(I2O_PARAMS_TABLE_GET,
c, ADAPTER_TID, 0x0005, -1, NULL, 0,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)