Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/40162/?format=api
http://patches.dpdk.org/api/patches/40162/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/152656501253.46638.11998367705296787097.stgit@localhost.localdomain/", "project": { "id": 1, "url": "http://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": "<152656501253.46638.11998367705296787097.stgit@localhost.localdomain>", "list_archive_url": "https://inbox.dpdk.org/dev/152656501253.46638.11998367705296787097.stgit@localhost.localdomain", "date": "2018-05-17T13:50:12", "name": "[dpdk-dev,v5,16/21] rte_ip.h: cast return checksum size to uint16", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "f48e547151c7bbece7f22c091c79658b8c9b6b7c", "submitter": { "id": 1029, "url": "http://patches.dpdk.org/api/people/1029/?format=api", "name": "Andy Green", "email": "andy@warmcat.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/152656501253.46638.11998367705296787097.stgit@localhost.localdomain/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/40162/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/40162/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 B43B57CCE;\n\tThu, 17 May 2018 15:50:17 +0200 (CEST)", "from mail.warmcat.com (mail.warmcat.com [163.172.24.82])\n\tby dpdk.org (Postfix) with ESMTP id 761E17E24\n\tfor <dev@dpdk.org>; Thu, 17 May 2018 15:50:16 +0200 (CEST)" ], "From": "Andy Green <andy@warmcat.com>", "To": "dev@dpdk.org", "Date": "Thu, 17 May 2018 21:50:12 +0800", "Message-ID": "<152656501253.46638.11998367705296787097.stgit@localhost.localdomain>", "In-Reply-To": "<152656480225.46638.3271983577765861155.stgit@localhost.localdomain>", "References": "<152656480225.46638.3271983577765861155.stgit@localhost.localdomain>", "User-Agent": "StGit/unknown-version", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Subject": "[dpdk-dev] [PATCH v5 16/21] rte_ip.h: cast return checksum size to\n\tuint16", "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": "In file included from ./dpdk/worker.c:94:\n/projects/lagopus/src/dpdk/build/include/rte_ip.h:\n332:9: warning: conversion from 'uint32_t'\n{aka 'unsigned int'} to 'uint16_t' {aka 'short\nunsigned int'} may change value [-Wconversion]\n return cksum;\n ^~~~~\n\n/projects/lagopus/src/dpdk/build/include/rte_ip.h:\nIn function 'rte_ipv6_udptcp_cksum':\n/projects/lagopus/src/dpdk/build/include/rte_ip.h:421:9:\nwarning: conversion from 'uint32_t' {aka 'unsigned int'}\nto 'uint16_t' {aka 'short unsigned int'} may change\nvalue [-Wconversion]\n return cksum;\n ^~~~~\n\n\nSigned-off-by: Andy Green <andy@warmcat.com>\n---\n lib/librte_net/rte_ip.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/lib/librte_net/rte_ip.h b/lib/librte_net/rte_ip.h\nindex 88dfbaa9a..c46398548 100644\n--- a/lib/librte_net/rte_ip.h\n+++ b/lib/librte_net/rte_ip.h\n@@ -329,7 +329,7 @@ rte_ipv4_udptcp_cksum(const struct ipv4_hdr *ipv4_hdr, const void *l4_hdr)\n \tif (cksum == 0)\n \t\tcksum = 0xffff;\n \n-\treturn cksum;\n+\treturn (uint16_t)cksum;\n }\n \n /**\n@@ -418,7 +418,7 @@ rte_ipv6_udptcp_cksum(const struct ipv6_hdr *ipv6_hdr, const void *l4_hdr)\n \tif (cksum == 0)\n \t\tcksum = 0xffff;\n \n-\treturn cksum;\n+\treturn (uint16_t)cksum;\n }\n \n #ifdef __cplusplus\n", "prefixes": [ "dpdk-dev", "v5", "16/21" ] }{ "id": 40162, "url": "