hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/s390/cio/ccwreq.c
....@@ -63,7 +63,7 @@
6363 return;
6464 req->done = 1;
6565 ccw_device_set_timeout(cdev, 0);
66
- memset(&cdev->private->irb, 0, sizeof(struct irb));
66
+ memset(&cdev->private->dma_area->irb, 0, sizeof(struct irb));
6767 if (rc && rc != -ENODEV && req->drc)
6868 rc = req->drc;
6969 req->callback(cdev, req->data, rc);
....@@ -86,7 +86,7 @@
8686 continue;
8787 }
8888 /* Perform start function. */
89
- memset(&cdev->private->irb, 0, sizeof(struct irb));
89
+ memset(&cdev->private->dma_area->irb, 0, sizeof(struct irb));
9090 rc = cio_start(sch, cp, (u8) req->mask);
9191 if (rc == 0) {
9292 /* I/O started successfully. */
....@@ -169,7 +169,7 @@
169169 */
170170 static enum io_status ccwreq_status(struct ccw_device *cdev, struct irb *lcirb)
171171 {
172
- struct irb *irb = &cdev->private->irb;
172
+ struct irb *irb = &cdev->private->dma_area->irb;
173173 struct cmd_scsw *scsw = &irb->scsw.cmd;
174174 enum uc_todo todo;
175175
....@@ -187,7 +187,8 @@
187187 CIO_TRACE_EVENT(2, "sensedata");
188188 CIO_HEX_EVENT(2, &cdev->private->dev_id,
189189 sizeof(struct ccw_dev_id));
190
- CIO_HEX_EVENT(2, &cdev->private->irb.ecw, SENSE_MAX_COUNT);
190
+ CIO_HEX_EVENT(2, &cdev->private->dma_area->irb.ecw,
191
+ SENSE_MAX_COUNT);
191192 /* Check for command reject. */
192193 if (irb->ecw[0] & SNS0_CMD_REJECT)
193194 return IO_REJECTED;