We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba20b5 commit 3a0ce12Copy full SHA for 3a0ce12
drivers/iommu/iova.c
@@ -253,7 +253,7 @@ int iova_cache_get(void)
253
SLAB_HWCACHE_ALIGN, NULL);
254
if (!iova_cache) {
255
mutex_unlock(&iova_cache_mutex);
256
- printk(KERN_ERR "Couldn't create iova cache\n");
+ pr_err("Couldn't create iova cache\n");
257
return -ENOMEM;
258
}
259
@@ -718,8 +718,8 @@ copy_reserved_iova(struct iova_domain *from, struct iova_domain *to)
718
719
new_iova = reserve_iova(to, iova->pfn_lo, iova->pfn_hi);
720
if (!new_iova)
721
- printk(KERN_ERR "Reserve iova range %lx@%lx failed\n",
722
- iova->pfn_lo, iova->pfn_lo);
+ pr_err("Reserve iova range %lx@%lx failed\n",
+ iova->pfn_lo, iova->pfn_lo);
723
724
spin_unlock_irqrestore(&from->iova_rbtree_lock, flags);
725
0 commit comments