Skip to content

Commit 555fb5a

Browse files
andy-shevjoergroedel
authored andcommitted
iommu/amd: Unify format of the printed messages
Unify format of the printed messages, i.e. replace printk(LEVEL ... ) with pr_level(...). Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent ec9b40c commit 555fb5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/iommu/amd_iommu_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,10 @@
395395
#define PD_IOMMUV2_MASK (1UL << 3) /* domain has gcr3 table */
396396

397397
extern bool amd_iommu_dump;
398-
#define DUMP_printk(format, arg...) \
399-
do { \
400-
if (amd_iommu_dump) \
401-
printk(KERN_INFO "AMD-Vi: " format, ## arg); \
398+
#define DUMP_printk(format, arg...) \
399+
do { \
400+
if (amd_iommu_dump) \
401+
pr_info("AMD-Vi: " format, ## arg); \
402402
} while(0);
403403

404404
/* global flag if IOMMUs cache non-present entries */

0 commit comments

Comments
 (0)