The patch titled x86-64: pci-gart iommu sg chaining zeroes wrong sg has been added to the -mm tree. Its filename is x86-64-pci-gart-iommu-sg-chaining-zeroes-wrong-sg.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: x86-64: pci-gart iommu sg chaining zeroes wrong sg From: FUJITA Tomonori <tomof@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86_64/kernel/pci-gart.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN arch/x86_64/kernel/pci-gart.c~x86-64-pci-gart-iommu-sg-chaining-zeroes-wrong-sg arch/x86_64/kernel/pci-gart.c --- a/arch/x86_64/kernel/pci-gart.c~x86-64-pci-gart-iommu-sg-chaining-zeroes-wrong-sg +++ a/arch/x86_64/kernel/pci-gart.c @@ -428,8 +428,10 @@ static int gart_map_sg(struct device *de goto error; out++; flush_gart(); - if (out < nents) - ps->dma_length = 0; + if (out < nents) { + sgmap = sg_next(sgmap); + sgmap->dma_length = 0; + } return out; error: _ Patches currently in -mm which might be from tomof@xxxxxxx are git-scsi-misc.patch git-block.patch x86-64-pci-gart-iommu-sg-chaining-zeroes-wrong-sg.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html