aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2008-12-25 07:39:32 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 07:39:18 -0500
commit8988e58f8b7d4b5e8b64435bedf84e4b3987a63d (patch)
treed058ee2c27a8559efe33a634ea2f5269c3653363 /drivers/s390
parentd1c2f8928a2feab56a181bb7e9afe8f804fd26cd (diff)
[S390] convert vmcp printks to pr_xxx macros.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/char/vmcp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c
index d7083b33b0fe..a6087cec55b4 100644
--- a/drivers/s390/char/vmcp.c
+++ b/drivers/s390/char/vmcp.c
@@ -11,6 +11,9 @@
11 * The idea of this driver is based on cpint from Neale Ferguson and #CP in CMS 11 * The idea of this driver is based on cpint from Neale Ferguson and #CP in CMS
12 */ 12 */
13 13
14#define KMSG_COMPONENT "vmcp"
15#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
16
14#include <linux/fs.h> 17#include <linux/fs.h>
15#include <linux/init.h> 18#include <linux/init.h>
16#include <linux/kernel.h> 19#include <linux/kernel.h>
@@ -25,8 +28,6 @@ MODULE_LICENSE("GPL");
25MODULE_AUTHOR("Christian Borntraeger <borntraeger@de.ibm.com>"); 28MODULE_AUTHOR("Christian Borntraeger <borntraeger@de.ibm.com>");
26MODULE_DESCRIPTION("z/VM CP interface"); 29MODULE_DESCRIPTION("z/VM CP interface");
27 30
28#define PRINTK_HEADER "vmcp: "
29
30static debug_info_t *vmcp_debug; 31static debug_info_t *vmcp_debug;
31 32
32static int vmcp_open(struct inode *inode, struct file *file) 33static int vmcp_open(struct inode *inode, struct file *file)
@@ -190,7 +191,8 @@ static int __init vmcp_init(void)
190 int ret; 191 int ret;
191 192
192 if (!MACHINE_IS_VM) { 193 if (!MACHINE_IS_VM) {
193 PRINT_WARN("z/VM CP interface is only available under z/VM\n"); 194 pr_warning("The z/VM CP interface device driver cannot be "
195 "loaded without z/VM\n");
194 return -ENODEV; 196 return -ENODEV;
195 } 197 }
196 198