|
@@ -601,7 +601,7 @@ int iscsi_copy_param_list(
|
|
param_list = kzalloc(sizeof(struct iscsi_param_list), GFP_KERNEL);
|
|
param_list = kzalloc(sizeof(struct iscsi_param_list), GFP_KERNEL);
|
|
if (!param_list) {
|
|
if (!param_list) {
|
|
pr_err("Unable to allocate memory for struct iscsi_param_list.\n");
|
|
pr_err("Unable to allocate memory for struct iscsi_param_list.\n");
|
|
- goto err_out;
|
|
|
|
|
|
+ return -1;
|
|
}
|
|
}
|
|
INIT_LIST_HEAD(¶m_list->param_list);
|
|
INIT_LIST_HEAD(¶m_list->param_list);
|
|
INIT_LIST_HEAD(¶m_list->extra_response_list);
|
|
INIT_LIST_HEAD(¶m_list->extra_response_list);
|