diff for duplicates of <559167D8.80803@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 2c38698..941591a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -26,117 +26,4 @@ Actually my patch record is much better now it's at the worst case 60% are corre and this based on the few that have been merged. Here is a patch series I have been trying to merge for a bug in the gma500 other the last few patches. There are other patches I have like this lying around. -Nick - -From 2d2ddb5d9a2c4fcbae45339d4f775fcde49f36e1 Mon Sep 17 00:00:00 2001 -From: Nicholas Krause <xerofoify@gmail.com> -Date: Wed, 13 May 2015 21:36:44 -0400 -Subject: [PATCH 1/2] gma500:Add proper use of the variable ret for the - function, psb_mmu_inset_pfn_sequence - -This adds proper use of the variable ret by returning it -at the end of the function, psb_mmu_inset_pfn_sequence for -indicating to callers when an error has occurred. Further -more remove the unneeded double setting of ret to the error -code, -ENOMEM after checking if a call to the function, -psb_mmu_pt_alloc_map_lock is successful. - -Signed-off-by: Nicholas Krause <xerofoify@gmail.com> ---- - drivers/gpu/drm/gma500/mmu.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c -index 0eaf11c..d2c4bac 100644 ---- a/drivers/gpu/drm/gma500/mmu.c -+++ b/drivers/gpu/drm/gma500/mmu.c -@@ -677,10 +677,9 @@ int psb_mmu_insert_pfn_sequence(struct psb_mmu_pd *pd, uint32_t start_pfn, - do { - next = psb_pd_addr_end(addr, end); - pt = psb_mmu_pt_alloc_map_lock(pd, addr); -- if (!pt) { -- ret = -ENOMEM; -+ if (!pt) - goto out; -- } -+ - do { - pte = psb_mmu_mask_pte(start_pfn++, type); - psb_mmu_set_pte(pt, addr, pte); -@@ -700,7 +699,7 @@ out: - if (pd->hw_context != -1) - psb_mmu_flush(pd->driver); - -- return 0; -+ return ret; - } - - int psb_mmu_insert_pages(struct psb_mmu_pd *pd, struct page **pages, --- -2.1.4From e0bb93a1752af6092dc3bad647aca8730cb7817d Mon Sep 17 00:00:00 2001 -From: Nicholas Krause <xerofoify@gmail.com> -Date: Wed, 13 May 2015 20:52:21 -0400 -Subject: [PATCH RESEND] drm:Make the function, psb_mmu_pt_alloc_map_lock static - -This makes the function psb_mmu_pt_alloc_map_lock static -now due to having no callers outside of its declaration -in the file, mmu.c. - -Signed-off-by: Nicholas Krause <xerofoify@gmail.com> ---- - drivers/gpu/drm/gma500/mmu.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c -index 0eaf11c..3ccb09a 100644 ---- a/drivers/gpu/drm/gma500/mmu.c -+++ b/drivers/gpu/drm/gma500/mmu.c -@@ -323,7 +323,7 @@ static struct psb_mmu_pt *psb_mmu_alloc_pt(struct psb_mmu_pd *pd) - return pt; - } - --struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, -+static struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, - unsigned long addr) - { - uint32_t index = psb_mmu_pd_index(addr); --- -2.1.4 - -This another patch for removing a 100 line unused function from the wireless core. - -From e0bb93a1752af6092dc3bad647aca8730cb7817d Mon Sep 17 00:00:00 2001 -From: Nicholas Krause <xerofoify@gmail.com> -Date: Wed, 13 May 2015 20:52:21 -0400 -Subject: [PATCH RESEND] drm:Make the function, psb_mmu_pt_alloc_map_lock static - -This makes the function psb_mmu_pt_alloc_map_lock static -now due to having no callers outside of its declaration -in the file, mmu.c. - -Signed-off-by: Nicholas Krause <xerofoify@gmail.com> ---- - drivers/gpu/drm/gma500/mmu.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c -index 0eaf11c..3ccb09a 100644 ---- a/drivers/gpu/drm/gma500/mmu.c -+++ b/drivers/gpu/drm/gma500/mmu.c -@@ -323,7 +323,7 @@ static struct psb_mmu_pt *psb_mmu_alloc_pt(struct psb_mmu_pd *pd) - return pt; - } - --struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, -+static struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, - unsigned long addr) - { - uint32_t index = psb_mmu_pd_index(addr); --- -2.1.4 - --- -To unsubscribe, send a message with 'unsubscribe linux-mm' in -the body to majordomo@kvack.org. For more info on Linux MM, -see: http://www.linux-mm.org/ . -Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> +Nick diff --git a/a/content_digest b/N1/content_digest index d7e79a8..28d2f78 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -40,119 +40,6 @@ "and this based on the few that have been merged. Here is a patch series I have been trying to merge\n" "for a bug in the gma500 other the last few patches. There are other patches I have like this lying\n" "around.\n" - "Nick \n" - "\n" - "From 2d2ddb5d9a2c4fcbae45339d4f775fcde49f36e1 Mon Sep 17 00:00:00 2001\n" - "From: Nicholas Krause <xerofoify@gmail.com>\n" - "Date: Wed, 13 May 2015 21:36:44 -0400\n" - "Subject: [PATCH 1/2] gma500:Add proper use of the variable ret for the\n" - " function, psb_mmu_inset_pfn_sequence\n" - "\n" - "This adds proper use of the variable ret by returning it\n" - "at the end of the function, psb_mmu_inset_pfn_sequence for\n" - "indicating to callers when an error has occurred. Further\n" - "more remove the unneeded double setting of ret to the error\n" - "code, -ENOMEM after checking if a call to the function,\n" - "psb_mmu_pt_alloc_map_lock is successful.\n" - "\n" - "Signed-off-by: Nicholas Krause <xerofoify@gmail.com>\n" - "---\n" - " drivers/gpu/drm/gma500/mmu.c | 7 +++----\n" - " 1 file changed, 3 insertions(+), 4 deletions(-)\n" - "\n" - "diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c\n" - "index 0eaf11c..d2c4bac 100644\n" - "--- a/drivers/gpu/drm/gma500/mmu.c\n" - "+++ b/drivers/gpu/drm/gma500/mmu.c\n" - "@@ -677,10 +677,9 @@ int psb_mmu_insert_pfn_sequence(struct psb_mmu_pd *pd, uint32_t start_pfn,\n" - " \tdo {\n" - " \t\tnext = psb_pd_addr_end(addr, end);\n" - " \t\tpt = psb_mmu_pt_alloc_map_lock(pd, addr);\n" - "-\t\tif (!pt) {\n" - "-\t\t\tret = -ENOMEM;\n" - "+\t\tif (!pt)\n" - " \t\t\tgoto out;\n" - "-\t\t}\n" - "+\n" - " \t\tdo {\n" - " \t\t\tpte = psb_mmu_mask_pte(start_pfn++, type);\n" - " \t\t\tpsb_mmu_set_pte(pt, addr, pte);\n" - "@@ -700,7 +699,7 @@ out:\n" - " \tif (pd->hw_context != -1)\n" - " \t\tpsb_mmu_flush(pd->driver);\n" - " \n" - "-\treturn 0;\n" - "+\treturn ret;\n" - " }\n" - " \n" - " int psb_mmu_insert_pages(struct psb_mmu_pd *pd, struct page **pages,\n" - "-- \n" - "2.1.4From e0bb93a1752af6092dc3bad647aca8730cb7817d Mon Sep 17 00:00:00 2001\n" - "From: Nicholas Krause <xerofoify@gmail.com>\n" - "Date: Wed, 13 May 2015 20:52:21 -0400\n" - "Subject: [PATCH RESEND] drm:Make the function, psb_mmu_pt_alloc_map_lock static\n" - "\n" - "This makes the function psb_mmu_pt_alloc_map_lock static\n" - "now due to having no callers outside of its declaration\n" - "in the file, mmu.c.\n" - "\n" - "Signed-off-by: Nicholas Krause <xerofoify@gmail.com>\n" - "---\n" - " drivers/gpu/drm/gma500/mmu.c | 2 +-\n" - " 1 file changed, 1 insertion(+), 1 deletion(-)\n" - "\n" - "diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c\n" - "index 0eaf11c..3ccb09a 100644\n" - "--- a/drivers/gpu/drm/gma500/mmu.c\n" - "+++ b/drivers/gpu/drm/gma500/mmu.c\n" - "@@ -323,7 +323,7 @@ static struct psb_mmu_pt *psb_mmu_alloc_pt(struct psb_mmu_pd *pd)\n" - " \treturn pt;\n" - " }\n" - " \n" - "-struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd,\n" - "+static struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd,\n" - " \t\t\t\t\t unsigned long addr)\n" - " {\n" - " \tuint32_t index = psb_mmu_pd_index(addr);\n" - "-- \n" - "2.1.4\n" - "\n" - "This another patch for removing a 100 line unused function from the wireless core.\n" - "\n" - "From e0bb93a1752af6092dc3bad647aca8730cb7817d Mon Sep 17 00:00:00 2001\n" - "From: Nicholas Krause <xerofoify@gmail.com>\n" - "Date: Wed, 13 May 2015 20:52:21 -0400\n" - "Subject: [PATCH RESEND] drm:Make the function, psb_mmu_pt_alloc_map_lock static\n" - "\n" - "This makes the function psb_mmu_pt_alloc_map_lock static\n" - "now due to having no callers outside of its declaration\n" - "in the file, mmu.c.\n" - "\n" - "Signed-off-by: Nicholas Krause <xerofoify@gmail.com>\n" - "---\n" - " drivers/gpu/drm/gma500/mmu.c | 2 +-\n" - " 1 file changed, 1 insertion(+), 1 deletion(-)\n" - "\n" - "diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c\n" - "index 0eaf11c..3ccb09a 100644\n" - "--- a/drivers/gpu/drm/gma500/mmu.c\n" - "+++ b/drivers/gpu/drm/gma500/mmu.c\n" - "@@ -323,7 +323,7 @@ static struct psb_mmu_pt *psb_mmu_alloc_pt(struct psb_mmu_pd *pd)\n" - " \treturn pt;\n" - " }\n" - " \n" - "-struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd,\n" - "+static struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd,\n" - " \t\t\t\t\t unsigned long addr)\n" - " {\n" - " \tuint32_t index = psb_mmu_pd_index(addr);\n" - "-- \n" - "2.1.4\n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + Nick -71505de05ad06467d1fdd981dea37f799437a479793d7459e969939183c0361a +9147a2b0d47193ff56ed63e5b19c235568427daec33097fea2aaec27fbd22ae2
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.