diff for duplicates of <20180803074840.GA2763@lst.de> diff --git a/a/1.txt b/N1/1.txt index 376db4e..9de75b3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,8 +11,8 @@ On Tue, Jul 31, 2018 at 10:02:04AM +0200, Christoph Hellwig wrote: > looks bogus given that no syncing is happening in the similar but more > important map_single case. > -> Signed-off-by: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org> -> Acked-by: Sam Ravnborg <sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org> +> Signed-off-by: Christoph Hellwig <hch@lst.de> +> Acked-by: Sam Ravnborg <sam@ravnborg.org> > --- > > Changes since v2: @@ -55,12 +55,12 @@ On Tue, Jul 31, 2018 at 10:02:04AM +0200, Christoph Hellwig wrote: > @@ -15,11 +14,11 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) > { > #ifdef CONFIG_SPARC_LEON -> if (sparc_cpu_model == sparc_leon) +> if (sparc_cpu_model = sparc_leon) > - return &pci32_dma_ops; > + return &dma_noncoherent_ops; > #endif > #if defined(CONFIG_SPARC32) && defined(CONFIG_PCI) -> if (bus == &pci_bus_type) +> if (bus = &pci_bus_type) > - return &pci32_dma_ops; > + return &dma_noncoherent_ops; > #endif @@ -94,8 +94,8 @@ On Tue, Jul 31, 2018 at 10:02:04AM +0200, Christoph Hellwig wrote: > struct resource *res; > int order; > -> - if (len == 0) { -> + if (size == 0) { +> - if (len = 0) { +> + if (size = 0) { > return NULL; > } > - if (len > 256*1024) { /* __get_free_pages() limit */ @@ -105,13 +105,13 @@ On Tue, Jul 31, 2018 at 10:02:04AM +0200, Christoph Hellwig wrote: > > order = get_order(len_total); > va = (void *) __get_free_pages(gfp, order); -> if (va == NULL) { +> if (va = NULL) { > - printk("pci_alloc_consistent: no %ld pages\n", len_total>>PAGE_SHIFT); > + printk("%s: no %ld pages\n", __func__, len_total>>PAGE_SHIFT); > goto err_nopages; > } > -> if ((res = kzalloc(sizeof(struct resource), GFP_KERNEL)) == NULL) { +> if ((res = kzalloc(sizeof(struct resource), GFP_KERNEL)) = NULL) { > - printk("pci_alloc_consistent: no core\n"); > + printk("%s: no core\n", __func__); > goto err_nomem; @@ -152,9 +152,9 @@ On Tue, Jul 31, 2018 at 10:02:04AM +0200, Christoph Hellwig wrote: > struct resource *res; > > if ((res = lookup_resource(&_sparc_dvma, -> - (unsigned long)p)) == NULL) { +> - (unsigned long)p)) = NULL) { > - printk("pci_free_consistent: cannot free %p\n", p); -> + (unsigned long)cpu_addr)) == NULL) { +> + (unsigned long)cpu_addr)) = NULL) { > + printk("%s: cannot free %p\n", __func__, cpu_addr); > return; > } @@ -341,6 +341,6 @@ On Tue, Jul 31, 2018 at 10:02:04AM +0200, Christoph Hellwig wrote: > > -- > To unsubscribe from this list: send the line "unsubscribe sparclinux" in -> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +> the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ---end quoted text--- diff --git a/a/content_digest b/N1/content_digest index 277da29..5360d8a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\020180731080204.22753-1-hch@lst.de\0" "ref\020180731080204.22753-1-hch-jcswGhMUV9g@public.gmane.org\0" - "From\0Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>\0" + "From\0Christoph Hellwig <hch@lst.de>\0" "Subject\0Re: [PATCH v3] sparc: use generic dma_noncoherent_ops\0" - "Date\0Fri, 3 Aug 2018 09:48:40 +0200\0" + "Date\0Fri, 03 Aug 2018 07:48:40 +0000\0" "To\0davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org\0" "Cc\0sparclinux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org @@ -22,8 +22,8 @@ "> looks bogus given that no syncing is happening in the similar but more\n" "> important map_single case.\n" "> \n" - "> Signed-off-by: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>\n" - "> Acked-by: Sam Ravnborg <sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>\n" + "> Signed-off-by: Christoph Hellwig <hch@lst.de>\n" + "> Acked-by: Sam Ravnborg <sam@ravnborg.org>\n" "> ---\n" "> \n" "> Changes since v2:\n" @@ -66,12 +66,12 @@ "> @@ -15,11 +14,11 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)\n" "> {\n" "> #ifdef CONFIG_SPARC_LEON\n" - "> \tif (sparc_cpu_model == sparc_leon)\n" + "> \tif (sparc_cpu_model = sparc_leon)\n" "> -\t\treturn &pci32_dma_ops;\n" "> +\t\treturn &dma_noncoherent_ops;\n" "> #endif\n" "> #if defined(CONFIG_SPARC32) && defined(CONFIG_PCI)\n" - "> \tif (bus == &pci_bus_type)\n" + "> \tif (bus = &pci_bus_type)\n" "> -\t\treturn &pci32_dma_ops;\n" "> +\t\treturn &dma_noncoherent_ops;\n" "> #endif\n" @@ -105,8 +105,8 @@ "> \tstruct resource *res;\n" "> \tint order;\n" "> \n" - "> -\tif (len == 0) {\n" - "> +\tif (size == 0) {\n" + "> -\tif (len = 0) {\n" + "> +\tif (size = 0) {\n" "> \t\treturn NULL;\n" "> \t}\n" "> -\tif (len > 256*1024) {\t\t\t/* __get_free_pages() limit */\n" @@ -116,13 +116,13 @@ "> \n" "> \torder = get_order(len_total);\n" "> \tva = (void *) __get_free_pages(gfp, order);\n" - "> \tif (va == NULL) {\n" + "> \tif (va = NULL) {\n" "> -\t\tprintk(\"pci_alloc_consistent: no %ld pages\\n\", len_total>>PAGE_SHIFT);\n" "> +\t\tprintk(\"%s: no %ld pages\\n\", __func__, len_total>>PAGE_SHIFT);\n" "> \t\tgoto err_nopages;\n" "> \t}\n" "> \n" - "> \tif ((res = kzalloc(sizeof(struct resource), GFP_KERNEL)) == NULL) {\n" + "> \tif ((res = kzalloc(sizeof(struct resource), GFP_KERNEL)) = NULL) {\n" "> -\t\tprintk(\"pci_alloc_consistent: no core\\n\");\n" "> +\t\tprintk(\"%s: no core\\n\", __func__);\n" "> \t\tgoto err_nomem;\n" @@ -163,9 +163,9 @@ "> \tstruct resource *res;\n" "> \n" "> \tif ((res = lookup_resource(&_sparc_dvma,\n" - "> -\t (unsigned long)p)) == NULL) {\n" + "> -\t (unsigned long)p)) = NULL) {\n" "> -\t\tprintk(\"pci_free_consistent: cannot free %p\\n\", p);\n" - "> +\t (unsigned long)cpu_addr)) == NULL) {\n" + "> +\t (unsigned long)cpu_addr)) = NULL) {\n" "> +\t\tprintk(\"%s: cannot free %p\\n\", __func__, cpu_addr);\n" "> \t\treturn;\n" "> \t}\n" @@ -352,8 +352,8 @@ "> \n" "> --\n" "> To unsubscribe from this list: send the line \"unsubscribe sparclinux\" in\n" - "> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + "> the body of a message to majordomo@vger.kernel.org\n" "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" ---end quoted text--- -1501e57957fe06b99661246119a40ad5f1b533e091f9cbba5f073a082a45f57c +60f2030b9900323e026d4a2cebfd68819cea48d3d766ff123a7da8a01e0dbd26
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.