On Wed, 24 Oct 2012 17:01:21 +0200
Joerg Roedel <[email protected]> wrote:

> On Thu, Oct 18, 2012 at 08:35:10AM +0300, Hiroshi Doyu wrote:
> > From: Hiro Sugawara <[email protected]>
> > 
> > Fix a deadly typo in macro definition.
> > 
> > Signed-off-by: Hiro Sugawara <[email protected]>
> > Signed-off-by: Hiroshi Doyu <[email protected]>
> 
> Applied, thanks.

Putting stable@ on To:. The original ptach attached.
--- Begin Message ---
From: Hiro Sugawara <[email protected]>

Fix a deadly typo in macro definition.

Signed-off-by: Hiro Sugawara <[email protected]>
Signed-off-by: Hiroshi Doyu <[email protected]>
---
 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


--- End Message ---

Reply via email to