projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9b40c
)
iommu/amd: Unify format of the printed messages
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Thu, 7 May 2020 16:18:04 +0000
(19:18 +0300)
committer
Joerg Roedel
<jroedel@suse.de>
Wed, 13 May 2020 10:02:09 +0000
(12:02 +0200)
Unify format of the printed messages, i.e. replace printk(LEVEL ... )
with pr_level(...).
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link:
https://lore.kernel.org/r/20200507161804.13275-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_types.h
patch
|
blob
|
history
diff --git
a/drivers/iommu/amd_iommu_types.h
b/drivers/iommu/amd_iommu_types.h
index d0d7b6a0c3d88f7f1187ae3dabb9cf20d6a527ae..f55405ee83cfe735cb67b2f1a01fe618e77143d3 100644
(file)
--- a/
drivers/iommu/amd_iommu_types.h
+++ b/
drivers/iommu/amd_iommu_types.h
@@
-395,10
+395,10
@@
#define PD_IOMMUV2_MASK (1UL << 3) /* domain has gcr3 table */
extern bool amd_iommu_dump;
-#define DUMP_printk(format, arg...)
\
- do {
\
- if (amd_iommu_dump)
\
- pr
intk(KERN_INFO "AMD-Vi: " format, ## arg);
\
+#define DUMP_printk(format, arg...) \
+ do { \
+ if (amd_iommu_dump) \
+ pr
_info("AMD-Vi: " format, ## arg);
\
} while(0);
/* global flag if IOMMUs cache non-present entries */