diff for duplicates of <20210725060747.GA10852@lst.de> diff --git a/a/1.txt b/N1/1.txt index 39c1645..0217318 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -4,7 +4,7 @@ > + int nents; > + > + nents = __dma_map_sg_attrs(dev, sgt->sgl, sgt->orig_nents, dir, attrs); -> + if (nents == 0) +> + if (nents = 0) > + return -EIO; > + else if (nents < 0) { > + if (WARN_ON_ONCE(nents != -EINVAL && nents != -ENOMEM && diff --git a/a/content_digest b/N1/content_digest index ede130e..2440c80 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020210723175008.22410-2-logang@deltatee.com\0" "From\0Christoph Hellwig <hch@lst.de>\0" "Subject\0Re: [PATCH v2 01/21] dma-mapping: Allow map_sg() ops to return negative error codes\0" - "Date\0Sun, 25 Jul 2021 08:07:47 +0200\0" + "Date\0Sun, 25 Jul 2021 06:07:47 +0000\0" "To\0Logan Gunthorpe <logang@deltatee.com>\0" "Cc\0linux-kernel@vger.kernel.org" linux-alpha@vger.kernel.org @@ -28,7 +28,7 @@ "> +\tint nents;\n" "> +\n" "> +\tnents = __dma_map_sg_attrs(dev, sgt->sgl, sgt->orig_nents, dir, attrs);\n" - "> +\tif (nents == 0)\n" + "> +\tif (nents = 0)\n" "> +\t\treturn -EIO;\n" "> +\telse if (nents < 0) {\n" "> +\t\tif (WARN_ON_ONCE(nents != -EINVAL && nents != -ENOMEM &&\n" @@ -38,4 +38,4 @@ "I think this validation of the errnos needs to go into __dma_map_sg_attrs,\n" so that we catch it for the classic dma_map_sg callers as well. -98c80545e803534f9c454771d075db3b0bb0cddf8286219f66da308bbc5026a6 +246c7f99691362a8f2da27dcfd5c29be05fd5333a1ca69c6cea62edf6ef99806
diff --git a/a/1.txt b/N2/1.txt index 39c1645..deea931 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -13,3 +13,7 @@ I think this validation of the errnos needs to go into __dma_map_sg_attrs, so that we catch it for the classic dma_map_sg callers as well. +_______________________________________________ +iommu mailing list +iommu@lists.linux-foundation.org +https://lists.linuxfoundation.org/mailman/listinfo/iommu diff --git a/a/content_digest b/N2/content_digest index ede130e..517efab 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,22 +4,21 @@ "Subject\0Re: [PATCH v2 01/21] dma-mapping: Allow map_sg() ops to return negative error codes\0" "Date\0Sun, 25 Jul 2021 08:07:47 +0200\0" "To\0Logan Gunthorpe <logang@deltatee.com>\0" - "Cc\0linux-kernel@vger.kernel.org" - linux-alpha@vger.kernel.org - linux-arm-kernel@lists.infradead.org + "Cc\0linux-s390@vger.kernel.org" linux-ia64@vger.kernel.org + linux-parisc@vger.kernel.org + Robin Murphy <robin.murphy@arm.com> + Martin Oliveira <martin.oliveira@eideticom.com> linux-mips@vger.kernel.org - linuxppc-dev@lists.ozlabs.org - linux-s390@vger.kernel.org - sparclinux@vger.kernel.org + linux-kernel@vger.kernel.org iommu@lists.linux-foundation.org - linux-parisc@vger.kernel.org + linux-alpha@vger.kernel.org + sparclinux@vger.kernel.org xen-devel@lists.xenproject.org - Christoph Hellwig <hch@lst.de> - Marek Szyprowski <m.szyprowski@samsung.com> - Robin Murphy <robin.murphy@arm.com> Stephen Bates <sbates@raithlin.com> - " Martin Oliveira <martin.oliveira@eideticom.com>\0" + linuxppc-dev@lists.ozlabs.org + Christoph Hellwig <hch@lst.de> + " linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "> +int dma_map_sgtable(struct device *dev, struct sg_table *sgt,\n" @@ -36,6 +35,10 @@ "> +\t\t\treturn -EIO;\n" "\n" "I think this validation of the errnos needs to go into __dma_map_sg_attrs,\n" - so that we catch it for the classic dma_map_sg callers as well. + "so that we catch it for the classic dma_map_sg callers as well.\n" + "_______________________________________________\n" + "iommu mailing list\n" + "iommu@lists.linux-foundation.org\n" + https://lists.linuxfoundation.org/mailman/listinfo/iommu -98c80545e803534f9c454771d075db3b0bb0cddf8286219f66da308bbc5026a6 +e67586d7b98d3f0018c7871a5bb27e56640b8ee0b5a063f3827894b12ccfd380
diff --git a/a/content_digest b/N3/content_digest index ede130e..b8da484 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -4,22 +4,22 @@ "Subject\0Re: [PATCH v2 01/21] dma-mapping: Allow map_sg() ops to return negative error codes\0" "Date\0Sun, 25 Jul 2021 08:07:47 +0200\0" "To\0Logan Gunthorpe <logang@deltatee.com>\0" - "Cc\0linux-kernel@vger.kernel.org" - linux-alpha@vger.kernel.org - linux-arm-kernel@lists.infradead.org + "Cc\0linux-s390@vger.kernel.org" linux-ia64@vger.kernel.org + linux-parisc@vger.kernel.org + Robin Murphy <robin.murphy@arm.com> + Martin Oliveira <martin.oliveira@eideticom.com> linux-mips@vger.kernel.org - linuxppc-dev@lists.ozlabs.org - linux-s390@vger.kernel.org - sparclinux@vger.kernel.org + linux-kernel@vger.kernel.org iommu@lists.linux-foundation.org - linux-parisc@vger.kernel.org + linux-alpha@vger.kernel.org + sparclinux@vger.kernel.org xen-devel@lists.xenproject.org - Christoph Hellwig <hch@lst.de> - Marek Szyprowski <m.szyprowski@samsung.com> - Robin Murphy <robin.murphy@arm.com> Stephen Bates <sbates@raithlin.com> - " Martin Oliveira <martin.oliveira@eideticom.com>\0" + linuxppc-dev@lists.ozlabs.org + Christoph Hellwig <hch@lst.de> + linux-arm-kernel@lists.infradead.org + " Marek Szyprowski <m.szyprowski@samsung.com>\0" "\00:1\0" "b\0" "> +int dma_map_sgtable(struct device *dev, struct sg_table *sgt,\n" @@ -38,4 +38,4 @@ "I think this validation of the errnos needs to go into __dma_map_sg_attrs,\n" so that we catch it for the classic dma_map_sg callers as well. -98c80545e803534f9c454771d075db3b0bb0cddf8286219f66da308bbc5026a6 +2ccd18cebb354aefac693fe28dd37338f30569527e7ca0e1b453c75027e2dd05
diff --git a/a/1.txt b/N4/1.txt index 39c1645..b78878a 100644 --- a/a/1.txt +++ b/N4/1.txt @@ -13,3 +13,8 @@ I think this validation of the errnos needs to go into __dma_map_sg_attrs, so that we catch it for the classic dma_map_sg callers as well. + +_______________________________________________ +linux-arm-kernel mailing list +linux-arm-kernel@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/a/content_digest b/N4/content_digest index ede130e..c7a75a3 100644 --- a/a/content_digest +++ b/N4/content_digest @@ -36,6 +36,11 @@ "> +\t\t\treturn -EIO;\n" "\n" "I think this validation of the errnos needs to go into __dma_map_sg_attrs,\n" - so that we catch it for the classic dma_map_sg callers as well. + "so that we catch it for the classic dma_map_sg callers as well.\n" + "\n" + "_______________________________________________\n" + "linux-arm-kernel mailing list\n" + "linux-arm-kernel@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -98c80545e803534f9c454771d075db3b0bb0cddf8286219f66da308bbc5026a6 +3c3c1cb6b2988766bf725c171d710e665f5b65159dd5c429b8ff62204d5db023
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.