Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/39682/?format=api
https://patches.dpdk.org/api/patches/39682/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/152592047476.119328.8761817819320596173.stgit@localhost.localdomain/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<152592047476.119328.8761817819320596173.stgit@localhost.localdomain>", "list_archive_url": "https://inbox.dpdk.org/dev/152592047476.119328.8761817819320596173.stgit@localhost.localdomain", "date": "2018-05-10T02:47:54", "name": "[dpdk-dev,v3,19/40] rte_memcpy.h: explicit tmp cast", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b47303dfeef44f151eecf852214b739e59653fc6", "submitter": { "id": 1029, "url": "https://patches.dpdk.org/api/people/1029/?format=api", "name": "Andy Green", "email": "andy@warmcat.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/152592047476.119328.8761817819320596173.stgit@localhost.localdomain/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/39682/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/39682/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1178F1B83F;\n\tThu, 10 May 2018 04:48:00 +0200 (CEST)", "from mail.warmcat.com (mail.warmcat.com [163.172.24.82])\n\tby dpdk.org (Postfix) with ESMTP id 83E921B83F\n\tfor <dev@dpdk.org>; Thu, 10 May 2018 04:47:58 +0200 (CEST)" ], "From": "Andy Green <andy@warmcat.com>", "To": "dev@dpdk.org", "Date": "Thu, 10 May 2018 10:47:54 +0800", "Message-ID": "<152592047476.119328.8761817819320596173.stgit@localhost.localdomain>", "In-Reply-To": "<152591991920.119328.14523975619615362920.stgit@localhost.localdomain>", "References": "<152591991920.119328.14523975619615362920.stgit@localhost.localdomain>", "User-Agent": "StGit/unknown-version", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Subject": "[dpdk-dev] [PATCH v3 19/40] rte_memcpy.h: explicit tmp cast", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Signed-off-by: Andy Green <andy@warmcat.com>\n---\n .../common/include/arch/x86/rte_memcpy.h | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/lib/librte_eal/common/include/arch/x86/rte_memcpy.h b/lib/librte_eal/common/include/arch/x86/rte_memcpy.h\nindex 5ead68ab2..f9ea0ab69 100644\n--- a/lib/librte_eal/common/include/arch/x86/rte_memcpy.h\n+++ b/lib/librte_eal/common/include/arch/x86/rte_memcpy.h\n@@ -597,9 +597,9 @@ __extension__ ({\n _mm_storeu_si128((__m128i *)((uint8_t *)dst + 7 * 16), _mm_alignr_epi8(xmm8, xmm7, offset)); \\\n dst = (uint8_t *)dst + 128; \\\n } \\\n- tmp = len; \\\n+ tmp = (int)len; \\\n len = ((len - 16 + offset) & 127) + 16 - offset; \\\n- tmp -= len; \\\n+ tmp -= (int)len; \\\n src = (const uint8_t *)src + tmp; \\\n dst = (uint8_t *)dst + tmp; \\\n if (len >= 32 + 16 - offset) { \\\n@@ -613,9 +613,9 @@ __extension__ ({\n _mm_storeu_si128((__m128i *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset)); \\\n dst = (uint8_t *)dst + 32; \\\n } \\\n- tmp = len; \\\n+ tmp = (int)len; \\\n len = ((len - 16 + offset) & 31) + 16 - offset; \\\n- tmp -= len; \\\n+ tmp -= (int)len; \\\n src = (const uint8_t *)src + tmp; \\\n dst = (uint8_t *)dst + tmp; \\\n } \\\n", "prefixes": [ "dpdk-dev", "v3", "19/40" ] }{ "id": 39682, "url": "