X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fppc64%2Fkernel%2Fiommu.c;h=d5d64d1d725848f8e520716b9a8df6ec1c6c730e;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=5cac0d2400ceae7b2895eec448c2e1aeb5ed087b;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/arch/ppc64/kernel/iommu.c b/arch/ppc64/kernel/iommu.c index 5cac0d240..d5d64d1d7 100644 --- a/arch/ppc64/kernel/iommu.c +++ b/arch/ppc64/kernel/iommu.c @@ -229,7 +229,7 @@ int iommu_map_sg(struct device *dev, struct iommu_table *tbl, struct scatterlist *sglist, int nelems, enum dma_data_direction direction) { - dma_addr_t dma_next, dma_addr; + dma_addr_t dma_next = 0, dma_addr; unsigned long flags; struct scatterlist *s, *outs, *segstart; int outcount;