diff options
Diffstat (limited to 'drivers/s390/block/dasd_alias.c')
-rw-r--r-- | drivers/s390/block/dasd_alias.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/s390/block/dasd_alias.c b/drivers/s390/block/dasd_alias.c index 219bee7bd77c..5b7bbc87593b 100644 --- a/drivers/s390/block/dasd_alias.c +++ b/drivers/s390/block/dasd_alias.c | |||
@@ -5,6 +5,8 @@ | |||
5 | * Author(s): Stefan Weinhuber <wein@de.ibm.com> | 5 | * Author(s): Stefan Weinhuber <wein@de.ibm.com> |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #define KMSG_COMPONENT "dasd" | ||
9 | |||
8 | #include <linux/list.h> | 10 | #include <linux/list.h> |
9 | #include <asm/ebcdic.h> | 11 | #include <asm/ebcdic.h> |
10 | #include "dasd_int.h" | 12 | #include "dasd_int.h" |
@@ -503,7 +505,7 @@ static void lcu_update_work(struct work_struct *work) | |||
503 | */ | 505 | */ |
504 | spin_lock_irqsave(&lcu->lock, flags); | 506 | spin_lock_irqsave(&lcu->lock, flags); |
505 | if (rc || (lcu->flags & NEED_UAC_UPDATE)) { | 507 | if (rc || (lcu->flags & NEED_UAC_UPDATE)) { |
506 | DEV_MESSAGE(KERN_WARNING, device, "could not update" | 508 | DBF_DEV_EVENT(DBF_WARNING, device, "could not update" |
507 | " alias data in lcu (rc = %d), retry later", rc); | 509 | " alias data in lcu (rc = %d), retry later", rc); |
508 | schedule_delayed_work(&lcu->ruac_data.dwork, 30*HZ); | 510 | schedule_delayed_work(&lcu->ruac_data.dwork, 30*HZ); |
509 | } else { | 511 | } else { |
@@ -875,7 +877,7 @@ void dasd_alias_handle_summary_unit_check(struct dasd_device *device, | |||
875 | 877 | ||
876 | lcu = private->lcu; | 878 | lcu = private->lcu; |
877 | if (!lcu) { | 879 | if (!lcu) { |
878 | DEV_MESSAGE(KERN_WARNING, device, "%s", | 880 | DBF_DEV_EVENT(DBF_WARNING, device, "%s", |
879 | "device not ready to handle summary" | 881 | "device not ready to handle summary" |
880 | " unit check (no lcu structure)"); | 882 | " unit check (no lcu structure)"); |
881 | return; | 883 | return; |
@@ -888,7 +890,7 @@ void dasd_alias_handle_summary_unit_check(struct dasd_device *device, | |||
888 | * the next interrupt on a different device | 890 | * the next interrupt on a different device |
889 | */ | 891 | */ |
890 | if (list_empty(&device->alias_list)) { | 892 | if (list_empty(&device->alias_list)) { |
891 | DEV_MESSAGE(KERN_WARNING, device, "%s", | 893 | DBF_DEV_EVENT(DBF_WARNING, device, "%s", |
892 | "device is in offline processing," | 894 | "device is in offline processing," |
893 | " don't do summary unit check handling"); | 895 | " don't do summary unit check handling"); |
894 | spin_unlock(&lcu->lock); | 896 | spin_unlock(&lcu->lock); |
@@ -896,7 +898,7 @@ void dasd_alias_handle_summary_unit_check(struct dasd_device *device, | |||
896 | } | 898 | } |
897 | if (lcu->suc_data.device) { | 899 | if (lcu->suc_data.device) { |
898 | /* already scheduled or running */ | 900 | /* already scheduled or running */ |
899 | DEV_MESSAGE(KERN_WARNING, device, "%s", | 901 | DBF_DEV_EVENT(DBF_WARNING, device, "%s", |
900 | "previous instance of summary unit check worker" | 902 | "previous instance of summary unit check worker" |
901 | " still pending"); | 903 | " still pending"); |
902 | spin_unlock(&lcu->lock); | 904 | spin_unlock(&lcu->lock); |