summaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptlan.c
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2010-07-26 18:57:36 +0530
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 09:07:47 -0500
commit213aaca3e5727f3eb56002b04a1405db34a54ed8 (patch)
tree2a9fc9b41a31fe286fe274fa477bc28848794caa /drivers/message/fusion/mptlan.c
parentc9de7dc48307395fb71780b567ae8833b080d1c8 (diff)
downloadop-kernel-dev-213aaca3e5727f3eb56002b04a1405db34a54ed8.zip
op-kernel-dev-213aaca3e5727f3eb56002b04a1405db34a54ed8.tar.gz
[SCSI] mptfusion: Extra debug prints added relavent to Device missing delay error handling
Adding function name in original debug prints and few more debug prints are added. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Cc: Stable Tree <stable@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/message/fusion/mptlan.c')
-rw-r--r--drivers/message/fusion/mptlan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptlan.c b/drivers/message/fusion/mptlan.c
index 4fa9665..cbe9607 100644
--- a/drivers/message/fusion/mptlan.c
+++ b/drivers/message/fusion/mptlan.c
@@ -1452,7 +1452,9 @@ static int __init mpt_lan_init (void)
{
show_mptmod_ver(LANAME, LANVER);
- if ((LanCtx = mpt_register(lan_reply, MPTLAN_DRIVER)) <= 0) {
+ LanCtx = mpt_register(lan_reply, MPTLAN_DRIVER,
+ "lan_reply");
+ if (LanCtx <= 0) {
printk (KERN_ERR MYNAM ": Failed to register with MPT base driver\n");
return -EBUSY;
}
OpenPOWER on IntegriCloud