]> git.baikalelectronics.ru Git - kernel.git/commit
x86: xen: platform-pci-unplug: use pr_err() and pr_warn() instead of raw printk()
authorzhaoxiao <zhaoxiao@uniontech.com>
Wed, 25 Aug 2021 11:41:11 +0000 (19:41 +0800)
committerJuergen Gross <jgross@suse.com>
Mon, 30 Aug 2021 10:09:54 +0000 (12:09 +0200)
commit3b353c6c1691a311bfc6b933d0830e4a92dcea76
treeedd33d0cc0e826f1f5629c87fed489642dd37f25
parenta46a1ec45cc33e726c2db33a4a308a8e8c7300b5
x86: xen: platform-pci-unplug: use pr_err() and pr_warn() instead of raw printk()

Since we have the nice helpers pr_err() and pr_warn(), use them instead
of raw printk().

[jgross@suse.com] Move the "#define pr_fmt" above the #includes in
                  order to avoid build warnings due to redefinition.

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20210825114111.29009-1-zhaoxiao@uniontech.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/platform-pci-unplug.c