[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>
This commit is contained in:
committed by
James Bottomley
parent
c9de7dc483
commit
213aaca3e5
@ -3018,7 +3018,8 @@ static int __init mptctl_init(void)
|
||||
* Install our handler
|
||||
*/
|
||||
++where;
|
||||
mptctl_id = mpt_register(mptctl_reply, MPTCTL_DRIVER);
|
||||
mptctl_id = mpt_register(mptctl_reply, MPTCTL_DRIVER,
|
||||
"mptctl_reply");
|
||||
if (!mptctl_id || mptctl_id >= MPT_MAX_PROTOCOL_DRIVERS) {
|
||||
printk(KERN_ERR MYNAM ": ERROR: Failed to register with Fusion MPT base driver\n");
|
||||
misc_deregister(&mptctl_miscdev);
|
||||
@ -3026,7 +3027,8 @@ static int __init mptctl_init(void)
|
||||
goto out_fail;
|
||||
}
|
||||
|
||||
mptctl_taskmgmt_id = mpt_register(mptctl_taskmgmt_reply, MPTCTL_DRIVER);
|
||||
mptctl_taskmgmt_id = mpt_register(mptctl_taskmgmt_reply, MPTCTL_DRIVER,
|
||||
"mptctl_taskmgmt_reply");
|
||||
if (!mptctl_taskmgmt_id || mptctl_taskmgmt_id >= MPT_MAX_PROTOCOL_DRIVERS) {
|
||||
printk(KERN_ERR MYNAM ": ERROR: Failed to register with Fusion MPT base driver\n");
|
||||
mpt_deregister(mptctl_id);
|
||||
|
Reference in New Issue
Block a user