Commit ecf39d42 authored by Christof Schmitt's avatar Christof Schmitt Committed by Martin Schwidefsky

[S390] convert zfcp printks to pr_xxx macros.

Signed-off-by: default avatarChristof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 5466c2e4
...@@ -25,6 +25,9 @@ ...@@ -25,6 +25,9 @@
* Sven Schuetz * Sven Schuetz
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include "zfcp_ext.h" #include "zfcp_ext.h"
...@@ -105,7 +108,7 @@ static int __init zfcp_device_setup(char *devstr) ...@@ -105,7 +108,7 @@ static int __init zfcp_device_setup(char *devstr)
err_out: err_out:
kfree(str); kfree(str);
pr_err("zfcp: %s is not a valid SCSI device\n", devstr); pr_err("%s is not a valid SCSI device\n", devstr);
return 0; return 0;
} }
...@@ -189,13 +192,13 @@ static int __init zfcp_module_init(void) ...@@ -189,13 +192,13 @@ static int __init zfcp_module_init(void)
retval = misc_register(&zfcp_cfdc_misc); retval = misc_register(&zfcp_cfdc_misc);
if (retval) { if (retval) {
pr_err("zfcp: Registering the misc device zfcp_cfdc failed\n"); pr_err("Registering the misc device zfcp_cfdc failed\n");
goto out_misc; goto out_misc;
} }
retval = zfcp_ccw_register(); retval = zfcp_ccw_register();
if (retval) { if (retval) {
pr_err("zfcp: The zfcp device driver could not register with " pr_err("The zfcp device driver could not register with "
"the common I/O layer\n"); "the common I/O layer\n");
goto out_ccw_register; goto out_ccw_register;
} }
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Copyright IBM Corporation 2002, 2008 * Copyright IBM Corporation 2002, 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include "zfcp_ext.h" #include "zfcp_ext.h"
/** /**
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
* Copyright IBM Corporation 2008 * Copyright IBM Corporation 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/types.h> #include <linux/types.h>
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
#include <asm/ccwdev.h> #include <asm/ccwdev.h>
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Copyright IBM Corporation 2002, 2008 * Copyright IBM Corporation 2002, 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/ctype.h> #include <linux/ctype.h>
#include <asm/debug.h> #include <asm/debug.h>
#include "zfcp_ext.h" #include "zfcp_ext.h"
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Copyright IBM Corporation 2002, 2008 * Copyright IBM Corporation 2002, 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include "zfcp_ext.h" #include "zfcp_ext.h"
#define ZFCP_MAX_ERPS 3 #define ZFCP_MAX_ERPS 3
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Copyright IBM Corporation 2008 * Copyright IBM Corporation 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include "zfcp_ext.h" #include "zfcp_ext.h"
struct ct_iu_gpn_ft_req { struct ct_iu_gpn_ft_req {
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Copyright IBM Corporation 2002, 2008 * Copyright IBM Corporation 2002, 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/blktrace_api.h> #include <linux/blktrace_api.h>
#include "zfcp_ext.h" #include "zfcp_ext.h"
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Copyright IBM Corporation 2002, 2008 * Copyright IBM Corporation 2002, 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include "zfcp_ext.h" #include "zfcp_ext.h"
/* FIXME(tune): free space should be one max. SBAL chain plus what? */ /* FIXME(tune): free space should be one max. SBAL chain plus what? */
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Copyright IBM Corporation 2002, 2008 * Copyright IBM Corporation 2002, 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include "zfcp_ext.h" #include "zfcp_ext.h"
#include <asm/atomic.h> #include <asm/atomic.h>
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Copyright IBM Corporation 2008 * Copyright IBM Corporation 2008
*/ */
#define KMSG_COMPONENT "zfcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include "zfcp_ext.h" #include "zfcp_ext.h"
#define ZFCP_DEV_ATTR(_feat, _name, _mode, _show, _store) \ #define ZFCP_DEV_ATTR(_feat, _name, _mode, _show, _store) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment