diff options
author | Michael Ernst <mernst@de.ibm.com> | 2008-12-25 07:39:36 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 07:39:20 -0500 |
commit | e6d5a428e01b1387852f17b3dd7934239a0be0d4 (patch) | |
tree | 2b8325b4e90d43918195022cdc4c4c1726bda477 /drivers/s390/cio/css.c | |
parent | 80a5c36d1dae15520aa0df0eff713c6c41c46035 (diff) |
[S390] convert cio printks to pr_xxx macros.
Signed-off-by: Michael Ernst <mernst@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.c')
-rw-r--r-- | drivers/s390/cio/css.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index 1b2d5149de5a..8019288bc6de 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -6,6 +6,10 @@ | |||
6 | * Author(s): Arnd Bergmann (arndb@de.ibm.com) | 6 | * Author(s): Arnd Bergmann (arndb@de.ibm.com) |
7 | * Cornelia Huck (cornelia.huck@de.ibm.com) | 7 | * Cornelia Huck (cornelia.huck@de.ibm.com) |
8 | */ | 8 | */ |
9 | |||
10 | #define KMSG_COMPONENT "cio" | ||
11 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
12 | |||
9 | #include <linux/module.h> | 13 | #include <linux/module.h> |
10 | #include <linux/init.h> | 14 | #include <linux/init.h> |
11 | #include <linux/device.h> | 15 | #include <linux/device.h> |
@@ -844,8 +848,8 @@ out: | |||
844 | s390_unregister_crw_handler(CRW_RSC_CSS); | 848 | s390_unregister_crw_handler(CRW_RSC_CSS); |
845 | chsc_free_sei_area(); | 849 | chsc_free_sei_area(); |
846 | kfree(slow_subchannel_set); | 850 | kfree(slow_subchannel_set); |
847 | printk(KERN_WARNING"cio: failed to initialize css driver (%d)!\n", | 851 | pr_alert("The CSS device driver initialization failed with " |
848 | ret); | 852 | "errno=%d\n", ret); |
849 | return ret; | 853 | return ret; |
850 | } | 854 | } |
851 | 855 | ||