Skip to content

Commit 3a0ce12

Browse files
andy-shevjoergroedel
authored andcommitted
iommu/iova: 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 2ba20b5 commit 3a0ce12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/iommu/iova.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ int iova_cache_get(void)
253253
SLAB_HWCACHE_ALIGN, NULL);
254254
if (!iova_cache) {
255255
mutex_unlock(&iova_cache_mutex);
256-
printk(KERN_ERR "Couldn't create iova cache\n");
256+
pr_err("Couldn't create iova cache\n");
257257
return -ENOMEM;
258258
}
259259
}
@@ -718,8 +718,8 @@ copy_reserved_iova(struct iova_domain *from, struct iova_domain *to)
718718

719719
new_iova = reserve_iova(to, iova->pfn_lo, iova->pfn_hi);
720720
if (!new_iova)
721-
printk(KERN_ERR "Reserve iova range %lx@%lx failed\n",
722-
iova->pfn_lo, iova->pfn_lo);
721+
pr_err("Reserve iova range %lx@%lx failed\n",
722+
iova->pfn_lo, iova->pfn_lo);
723723
}
724724
spin_unlock_irqrestore(&from->iova_rbtree_lock, flags);
725725
}

0 commit comments

Comments
 (0)