summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/char/sclp_pci.c')
-rw-r--r--drivers/s390/char/sclp_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/char/sclp_pci.c b/drivers/s390/char/sclp_pci.c
index 0c8973c..4dbb3df 100644
--- a/drivers/s390/char/sclp_pci.c
+++ b/drivers/s390/char/sclp_pci.c
@@ -124,7 +124,7 @@ int sclp_pci_report(struct zpci_report_error_header *report, u32 fh, u32 fid)
{
DECLARE_COMPLETION_ONSTACK(completion);
struct err_notify_sccb *sccb;
- struct sclp_req req = {0};
+ struct sclp_req req;
int ret;
ret = sclp_pci_check_report(report);
@@ -147,6 +147,7 @@ int sclp_pci_report(struct zpci_report_error_header *report, u32 fh, u32 fid)
goto out_unregister;
}
+ memset(&req, 0, sizeof(req));
req.callback_data = &completion;
req.callback = sclp_pci_callback;
req.command = SCLP_CMDW_WRITE_EVENT_DATA;
OpenPOWER on IntegriCloud