summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_v2.c
diff options
context:
space:
mode:
authorJoerg Roedel2018-11-27 16:22:31 +0100
committerJoerg Roedel2018-11-28 09:47:41 +0100
commit101fa0371478aa0457c58e175b8f66a110c4b24c (patch)
treee3b21d38776aba5428128484a7e46681392093e8 /drivers/iommu/amd_iommu_v2.c
parentvfio/type1: Remove map_try_harder() code path (diff)
downloadkernel-qcow2-linux-101fa0371478aa0457c58e175b8f66a110c4b24c.tar.gz
kernel-qcow2-linux-101fa0371478aa0457c58e175b8f66a110c4b24c.tar.xz
kernel-qcow2-linux-101fa0371478aa0457c58e175b8f66a110c4b24c.zip
iommu/amd: Use pr_fmt()
Make use of pr_fmt instead of having the 'AMD-Vi' prefix added manually at every printk() call. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_v2.c')
-rw-r--r--drivers/iommu/amd_iommu_v2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu_v2.c b/drivers/iommu/amd_iommu_v2.c
index fd552235bd13..23dae9348ace 100644
--- a/drivers/iommu/amd_iommu_v2.c
+++ b/drivers/iommu/amd_iommu_v2.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#define pr_fmt(fmt) "AMD-Vi: " fmt
+
#include <linux/mmu_notifier.h>
#include <linux/amd-iommu.h>
#include <linux/mm_types.h>