diff options
Diffstat (limited to 'drivers/xen/xen-balloon.c')
-rw-r--r-- | drivers/xen/xen-balloon.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/xen/xen-balloon.c b/drivers/xen/xen-balloon.c index 8f37e23f6d13..e555845d61fa 100644 --- a/drivers/xen/xen-balloon.c +++ b/drivers/xen/xen-balloon.c | |||
@@ -30,6 +30,8 @@ | |||
30 | * IN THE SOFTWARE. | 30 | * IN THE SOFTWARE. |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
34 | |||
33 | #include <linux/kernel.h> | 35 | #include <linux/kernel.h> |
34 | #include <linux/module.h> | 36 | #include <linux/module.h> |
35 | #include <linux/capability.h> | 37 | #include <linux/capability.h> |
@@ -81,7 +83,7 @@ static int balloon_init_watcher(struct notifier_block *notifier, | |||
81 | 83 | ||
82 | err = register_xenbus_watch(&target_watch); | 84 | err = register_xenbus_watch(&target_watch); |
83 | if (err) | 85 | if (err) |
84 | printk(KERN_ERR "Failed to set balloon watcher\n"); | 86 | pr_err("Failed to set balloon watcher\n"); |
85 | 87 | ||
86 | return NOTIFY_DONE; | 88 | return NOTIFY_DONE; |
87 | } | 89 | } |
@@ -95,7 +97,7 @@ static int __init balloon_init(void) | |||
95 | if (!xen_domain()) | 97 | if (!xen_domain()) |
96 | return -ENODEV; | 98 | return -ENODEV; |
97 | 99 | ||
98 | pr_info("xen-balloon: Initialising balloon driver.\n"); | 100 | pr_info("Initialising balloon driver\n"); |
99 | 101 | ||
100 | register_balloon(&balloon_dev); | 102 | register_balloon(&balloon_dev); |
101 | 103 | ||