aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_aux.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2008-12-25 07:39:53 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 07:39:27 -0500
commitecf39d42129767c0b4b4a6cf4997c1219c860934 (patch)
tree47d2f38b30b7e3d4962061e819115b0be7bc32aa /drivers/s390/scsi/zfcp_aux.c
parent5466c2e43e78068cfe634b07fe36dd7a6a7af535 (diff)
[S390] convert zfcp printks to pr_xxx macros.
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_aux.c')
-rw-r--r--drivers/s390/scsi/zfcp_aux.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c
index f140b46df12a..e529b55b3ce9 100644
--- a/drivers/s390/scsi/zfcp_aux.c
+++ b/drivers/s390/scsi/zfcp_aux.c
@@ -25,6 +25,9 @@
25 * Sven Schuetz 25 * Sven Schuetz
26 */ 26 */
27 27
28#define KMSG_COMPONENT "zfcp"
29#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
30
28#include <linux/miscdevice.h> 31#include <linux/miscdevice.h>
29#include <linux/seq_file.h> 32#include <linux/seq_file.h>
30#include "zfcp_ext.h" 33#include "zfcp_ext.h"
@@ -105,7 +108,7 @@ static int __init zfcp_device_setup(char *devstr)
105 108
106 err_out: 109 err_out:
107 kfree(str); 110 kfree(str);
108 pr_err("zfcp: %s is not a valid SCSI device\n", devstr); 111 pr_err("%s is not a valid SCSI device\n", devstr);
109 return 0; 112 return 0;
110} 113}
111 114
@@ -189,13 +192,13 @@ static int __init zfcp_module_init(void)
189 192
190 retval = misc_register(&zfcp_cfdc_misc); 193 retval = misc_register(&zfcp_cfdc_misc);
191 if (retval) { 194 if (retval) {
192 pr_err("zfcp: Registering the misc device zfcp_cfdc failed\n"); 195 pr_err("Registering the misc device zfcp_cfdc failed\n");
193 goto out_misc; 196 goto out_misc;
194 } 197 }
195 198
196 retval = zfcp_ccw_register(); 199 retval = zfcp_ccw_register();
197 if (retval) { 200 if (retval) {
198 pr_err("zfcp: The zfcp device driver could not register with " 201 pr_err("The zfcp device driver could not register with "
199 "the common I/O layer\n"); 202 "the common I/O layer\n");
200 goto out_ccw_register; 203 goto out_ccw_register;
201 } 204 }