diff options
author | Joe Perches <joe@perches.com> | 2013-06-28 06:21:41 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-06-28 11:19:58 -0400 |
commit | 283c0972d53769ee44750cad4c27e3f5fa26ec1f (patch) | |
tree | 598a36146515f114e21047daa9e19ea8ac8e5fdc /include/xen/hvm.h | |
parent | 65e053a7038c608f89272d4fb1f899890c579f0a (diff) |
xen: Convert printks to pr_<level>
Convert printks to pr_<level> (excludes printk(KERN_DEBUG...)
to be more consistent throughout the xen subsystem.
Add pr_fmt with KBUILD_MODNAME or "xen:" KBUILD_MODNAME
Coalesce formats and add missing word spaces
Add missing newlines
Align arguments and reflow to 80 columns
Remove DRV_NAME from formats as pr_fmt adds the same content
This does change some of the prefixes of these messages
but it also does make them more consistent.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen/hvm.h')
-rw-r--r-- | include/xen/hvm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xen/hvm.h b/include/xen/hvm.h index 13e43e41637d..63917a8de3b0 100644 --- a/include/xen/hvm.h +++ b/include/xen/hvm.h | |||
@@ -44,8 +44,8 @@ static inline int hvm_get_parameter(int idx, uint64_t *value) | |||
44 | xhv.index = idx; | 44 | xhv.index = idx; |
45 | r = HYPERVISOR_hvm_op(HVMOP_get_param, &xhv); | 45 | r = HYPERVISOR_hvm_op(HVMOP_get_param, &xhv); |
46 | if (r < 0) { | 46 | if (r < 0) { |
47 | printk(KERN_ERR "Cannot get hvm parameter %s (%d): %d!\n", | 47 | pr_err("Cannot get hvm parameter %s (%d): %d!\n", |
48 | param_name(idx), idx, r); | 48 | param_name(idx), idx, r); |
49 | return r; | 49 | return r; |
50 | } | 50 | } |
51 | *value = xhv.value; | 51 | *value = xhv.value; |