Skip to content

Commit 8627892

Browse files
andy-shevjoergroedel
authored andcommitted
iommu/vt-d: 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]> Reviewed-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 6fc7020 commit 8627892

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/iommu/intel-iommu.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,7 @@ static int __init intel_iommu_setup(char *str)
475475
pr_info("Intel-IOMMU: scalable mode supported\n");
476476
intel_iommu_sm = 1;
477477
} else if (!strncmp(str, "tboot_noforce", 13)) {
478-
printk(KERN_INFO
479-
"Intel-IOMMU: not forcing on after tboot. This could expose security risk for tboot\n");
478+
pr_info("Intel-IOMMU: not forcing on after tboot. This could expose security risk for tboot\n");
480479
intel_iommu_tboot_noforce = 1;
481480
} else if (!strncmp(str, "nobounce", 8)) {
482481
pr_info("Intel-IOMMU: No bounce buffer. This could expose security risks of DMA attacks\n");

0 commit comments

Comments
 (0)