iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] iommu/tegra: smmu: Fix deadly typo
@ 2012-10-18  5:35 Hiroshi Doyu
       [not found] ` <1350538510-28356-1-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Hiroshi Doyu @ 2012-10-18  5:35 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	joerg.roedel-5C7GfCeVMHo
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Hiro Sugawara

From: Hiro Sugawara <hsugawara-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Fix a deadly typo in macro definition.

Signed-off-by: Hiro Sugawara <hsugawara-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Hiroshi Doyu <hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 drivers/iommu/tegra-smmu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index 94811fe..4167863 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -198,7 +198,7 @@ enum {
 
 #define SMMU_ADDR_TO_PFN(addr)	((addr) >> 12)
 #define SMMU_ADDR_TO_PDN(addr)	((addr) >> 22)
-#define SMMU_PDN_TO_ADDR(addr)	((pdn) << 22)
+#define SMMU_PDN_TO_ADDR(pdn)	((pdn) << 22)
 
 #define _READABLE	(1 << SMMU_PTB_DATA_ASID_READABLE_SHIFT)
 #define _WRITABLE	(1 << SMMU_PTB_DATA_ASID_WRITABLE_SHIFT)
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-25 16:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18  5:35 [PATCH 1/1] iommu/tegra: smmu: Fix deadly typo Hiroshi Doyu
     [not found] ` <1350538510-28356-1-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-10-18 15:56   ` Stephen Warren
2012-10-24 15:01   ` Joerg Roedel
     [not found]     ` <20121024150121.GA2764-5C7GfCeVMHo@public.gmane.org>
2012-10-25  6:06       ` Hiroshi Doyu
     [not found]         ` <20121025090602.6361b51a5c334bf0009af006-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-10-25 15:41           ` Greg KH
     [not found]             ` <20121025154136.GA30431-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2012-10-25 16:03               ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).