Use setup_timer() instead of init_timer() to simplify the code.
Signed-off-by: Geliang Tang
---
arch/x86/kernel/pci-calgary_64.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c
index 0c150c0..fda7867
Use sg_phys() instead of open-coding it.
Signed-off-by: Geliang Tang
---
drivers/iommu/intel-iommu.c | 2 +-
drivers/iommu/iommu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index d412a31..9d09a9e 100644
To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.
Signed-off-by: Geliang Tang
---
drivers/iommu/iova.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c
index 080beca
Drop duplicate header pci.h from s390-iommu.c.
Signed-off-by: Geliang Tang
---
drivers/iommu/s390-iommu.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iommu/s390-iommu.c b/drivers/iommu/s390-iommu.c
index 3b44b1d..179e636 100644
--- a/drivers/iommu/s390-iommu.c
+++ b/drivers/iommu