Loading drivers/s390/char/vmcp.c +5 −3 Original line number Original line Diff line number Diff line Loading @@ -11,6 +11,9 @@ * The idea of this driver is based on cpint from Neale Ferguson and #CP in CMS * 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/fs.h> #include <linux/init.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/kernel.h> Loading @@ -25,8 +28,6 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR("Christian Borntraeger <borntraeger@de.ibm.com>"); MODULE_AUTHOR("Christian Borntraeger <borntraeger@de.ibm.com>"); MODULE_DESCRIPTION("z/VM CP interface"); MODULE_DESCRIPTION("z/VM CP interface"); #define PRINTK_HEADER "vmcp: " static debug_info_t *vmcp_debug; static debug_info_t *vmcp_debug; static int vmcp_open(struct inode *inode, struct file *file) static int vmcp_open(struct inode *inode, struct file *file) Loading Loading @@ -190,7 +191,8 @@ static int __init vmcp_init(void) int ret; int ret; if (!MACHINE_IS_VM) { 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; return -ENODEV; } } Loading Loading
drivers/s390/char/vmcp.c +5 −3 Original line number Original line Diff line number Diff line Loading @@ -11,6 +11,9 @@ * The idea of this driver is based on cpint from Neale Ferguson and #CP in CMS * 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/fs.h> #include <linux/init.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/kernel.h> Loading @@ -25,8 +28,6 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR("Christian Borntraeger <borntraeger@de.ibm.com>"); MODULE_AUTHOR("Christian Borntraeger <borntraeger@de.ibm.com>"); MODULE_DESCRIPTION("z/VM CP interface"); MODULE_DESCRIPTION("z/VM CP interface"); #define PRINTK_HEADER "vmcp: " static debug_info_t *vmcp_debug; static debug_info_t *vmcp_debug; static int vmcp_open(struct inode *inode, struct file *file) static int vmcp_open(struct inode *inode, struct file *file) Loading Loading @@ -190,7 +191,8 @@ static int __init vmcp_init(void) int ret; int ret; if (!MACHINE_IS_VM) { 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; return -ENODEV; } } Loading