Commit f8518f1c authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman

scsi: qla4xxx: check return code of qla4xxx_copy_from_fwddb_param

[ Upstream commit 72b4a046 ]

The return code should be check while qla4xxx_copy_from_fwddb_param fails.
Signed-off-by: 's avatarYueHaibing <>
Acked-by: 's avatarManish Rangankar <>
Signed-off-by: Martin K. Petersen's avatarMartin K. Petersen <>
Signed-off-by: 's avatarSasha Levin <>
parent 9a9f0f05
......@@ -7237,6 +7237,8 @@ static int qla4xxx_sysfs_ddb_tgt_create(struct scsi_qla_host *ha,
rc = qla4xxx_copy_from_fwddb_param(fnode_sess, fnode_conn,
if (rc)
goto free_sess;
ql4_printk(KERN_INFO, ha, "%s: sysfs entry %s created\n",
__func__, fnode_sess->;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment