diff options
author | 2021-08-25 19:41:11 +0800 | |
---|---|---|
committer | 2021-08-30 12:09:54 +0200 | |
commit | 1a0df28c09831dc4bd336fe6e090bbe85a07e79f (patch) | |
tree | edd33d0cc0e826f1f5629c87fed489642dd37f25 /scripts/gdb/linux/utils.py | |
parent | drivers/xen/xenbus/xenbus_client.c: fix bugon.cocci warnings (diff) | |
download | wireguard-linux-1a0df28c09831dc4bd336fe6e090bbe85a07e79f.tar.xz wireguard-linux-1a0df28c09831dc4bd336fe6e090bbe85a07e79f.zip |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions