diff options
Diffstat (limited to 'drivers/s390/block/dasd_eer.c')
-rw-r--r-- | drivers/s390/block/dasd_eer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/s390/block/dasd_eer.c b/drivers/s390/block/dasd_eer.c index bf512ac75b9e..892e2878d61b 100644 --- a/drivers/s390/block/dasd_eer.c +++ b/drivers/s390/block/dasd_eer.c | |||
@@ -309,7 +309,8 @@ static void dasd_eer_write_standard_trigger(struct dasd_device *device, | |||
309 | do_gettimeofday(&tv); | 309 | do_gettimeofday(&tv); |
310 | header.tv_sec = tv.tv_sec; | 310 | header.tv_sec = tv.tv_sec; |
311 | header.tv_usec = tv.tv_usec; | 311 | header.tv_usec = tv.tv_usec; |
312 | strncpy(header.busid, device->cdev->dev.bus_id, DASD_EER_BUSID_SIZE); | 312 | strncpy(header.busid, dev_name(&device->cdev->dev), |
313 | DASD_EER_BUSID_SIZE); | ||
313 | 314 | ||
314 | spin_lock_irqsave(&bufferlock, flags); | 315 | spin_lock_irqsave(&bufferlock, flags); |
315 | list_for_each_entry(eerb, &bufferlist, list) { | 316 | list_for_each_entry(eerb, &bufferlist, list) { |
@@ -349,7 +350,8 @@ static void dasd_eer_write_snss_trigger(struct dasd_device *device, | |||
349 | do_gettimeofday(&tv); | 350 | do_gettimeofday(&tv); |
350 | header.tv_sec = tv.tv_sec; | 351 | header.tv_sec = tv.tv_sec; |
351 | header.tv_usec = tv.tv_usec; | 352 | header.tv_usec = tv.tv_usec; |
352 | strncpy(header.busid, device->cdev->dev.bus_id, DASD_EER_BUSID_SIZE); | 353 | strncpy(header.busid, dev_name(&device->cdev->dev), |
354 | DASD_EER_BUSID_SIZE); | ||
353 | 355 | ||
354 | spin_lock_irqsave(&bufferlock, flags); | 356 | spin_lock_irqsave(&bufferlock, flags); |
355 | list_for_each_entry(eerb, &bufferlist, list) { | 357 | list_for_each_entry(eerb, &bufferlist, list) { |