Skip to content
Commit 1a0df28c authored by zhaoxiao's avatar zhaoxiao Committed by Juergen Gross
Browse files

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: default avatarzhaoxiao <zhaoxiao@uniontech.com>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20210825114111.29009-1-zhaoxiao@uniontech.com


Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent bb70913d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment