Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121414
b: refs/heads/master
c: 8988e58
h: refs/heads/master
v: v3
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Dec 25, 2008
1 parent 2f8be22 commit 81faa7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1c2f8928a2feab56a181bb7e9afe8f804fd26cd
refs/heads/master: 8988e58f8b7d4b5e8b64435bedf84e4b3987a63d
8 changes: 5 additions & 3 deletions trunk/drivers/s390/char/vmcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
* The idea of this driver is based on cpint from Neale Ferguson and #CP in CMS
*/

#define KMSG_COMPONENT "vmcp"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt

#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
Expand All @@ -25,8 +28,6 @@ MODULE_LICENSE("GPL");
MODULE_AUTHOR("Christian Borntraeger <borntraeger@de.ibm.com>");
MODULE_DESCRIPTION("z/VM CP interface");

#define PRINTK_HEADER "vmcp: "

static debug_info_t *vmcp_debug;

static int vmcp_open(struct inode *inode, struct file *file)
Expand Down Expand Up @@ -190,7 +191,8 @@ static int __init vmcp_init(void)
int ret;

if (!MACHINE_IS_VM) {
PRINT_WARN("z/VM CP interface is only available under z/VM\n");
pr_warning("The z/VM CP interface device driver cannot be "
"loaded without z/VM\n");
return -ENODEV;
}

Expand Down

0 comments on commit 81faa7d

Please sign in to comment.