aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/scsi')
-rw-r--r--drivers/s390/scsi/zfcp_aux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c
index fd5d0c1570df..d9e7be979760 100644
--- a/drivers/s390/scsi/zfcp_aux.c
+++ b/drivers/s390/scsi/zfcp_aux.c
@@ -1518,6 +1518,8 @@ zfcp_gid_pn_buffers_alloc(struct zfcp_gid_pn_data **gid_pn, mempool_t *pool)
1518 return -ENOMEM; 1518 return -ENOMEM;
1519 1519
1520 memset(data, 0, sizeof(*data)); 1520 memset(data, 0, sizeof(*data));
1521 sg_init_table(&data->req , 1);
1522 sg_init_table(&data->resp , 1);
1521 data->ct.req = &data->req; 1523 data->ct.req = &data->req;
1522 data->ct.resp = &data->resp; 1524 data->ct.resp = &data->resp;
1523 data->ct.req_count = data->ct.resp_count = 1; 1525 data->ct.req_count = data->ct.resp_count = 1;