Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200507161804.13275-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>

authored by

Andy Shevchenko and committed by
Joerg Roedel
3a0ce12e 2ba20b5a

+3 -3
+3 -3
drivers/iommu/iova.c
··· 253 253 SLAB_HWCACHE_ALIGN, NULL); 254 254 if (!iova_cache) { 255 255 mutex_unlock(&iova_cache_mutex); 256 - printk(KERN_ERR "Couldn't create iova cache\n"); 256 + pr_err("Couldn't create iova cache\n"); 257 257 return -ENOMEM; 258 258 } 259 259 } ··· 718 718 719 719 new_iova = reserve_iova(to, iova->pfn_lo, iova->pfn_hi); 720 720 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); 723 723 } 724 724 spin_unlock_irqrestore(&from->iova_rbtree_lock, flags); 725 725 }