]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt fusion: Avoid racing when mptsas and mptcl module are loaded in parallel
authorPrakash, Sathya <sathya.prakash@lsi.com>
Fri, 8 Feb 2008 11:05:40 +0000 (16:35 +0530)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 11 Feb 2008 16:20:53 +0000 (10:20 -0600)
commitaa08acbdc18ec0036dc61aec42767973bd16c59e
treea6542ea7c87147d21d8e65cacd8d7feb6e2a6941
parent6cd81656fd710754e1707d8bab8a95cca65c6fb6
[SCSI] mpt fusion: Avoid racing when mptsas and mptcl module are loaded in parallel

This patch sets the IOC pointer in drvrdata of pcidev before adding
the IOC into the list of IOCs. Without this patch the driver oops when
the mptsas and mptctl modules are loaded in parallel.

Signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/message/fusion/mptbase.c