Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64434/?format=api
http://patches.dpdk.org/api/patches/64434/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200110205152.30966-6-dharmik.thakkar@arm.com/", "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": "<20200110205152.30966-6-dharmik.thakkar@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200110205152.30966-6-dharmik.thakkar@arm.com", "date": "2020-01-10T20:51:50", "name": "[v3,5/7] net/e1000: remove 'typedef int bool'", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "bf7abd62291388d77032127f36b9dd29da41bbb4", "submitter": { "id": 1108, "url": "http://patches.dpdk.org/api/people/1108/?format=api", "name": "Dharmik Thakkar", "email": "dharmik.thakkar@arm.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200110205152.30966-6-dharmik.thakkar@arm.com/mbox/", "series": [ { "id": 8055, "url": "http://patches.dpdk.org/api/series/8055/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8055", "date": "2020-01-10T20:51:45", "name": "remove 'typedef int bool'", "version": 3, "mbox": "http://patches.dpdk.org/series/8055/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64434/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/64434/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A70A1A04F9;\n\tFri, 10 Jan 2020 21:52:53 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1F4161EBBE;\n\tFri, 10 Jan 2020 21:52:21 +0100 (CET)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id BBFBD1EB9E\n for <dev@dpdk.org>; Fri, 10 Jan 2020 21:52:10 +0100 (CET)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B4D8613D5;\n Fri, 10 Jan 2020 12:52:09 -0800 (PST)", "from 2p2660v4-1.austin.arm.com (2p2660v4-1.austin.arm.com\n [10.118.12.29])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AF2DC3F534;\n Fri, 10 Jan 2020 12:52:09 -0800 (PST)" ], "From": "Dharmik Thakkar <dharmik.thakkar@arm.com>", "To": "Wenzhuo Lu <wenzhuo.lu@intel.com>", "Cc": "dev@dpdk.org,\n\tnd@arm.com,\n\tDharmik Thakkar <dharmik.thakkar@arm.com>", "Date": "Fri, 10 Jan 2020 14:51:50 -0600", "Message-Id": "<20200110205152.30966-6-dharmik.thakkar@arm.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200110205152.30966-1-dharmik.thakkar@arm.com>", "References": "<20200102174838.12908-1-dharmik.thakkar@arm.com>\n <20200110205152.30966-1-dharmik.thakkar@arm.com>", "Subject": "[dpdk-dev] [PATCH v3 5/7] net/e1000: remove 'typedef int bool'", "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://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Replace 'typedef int bool' with 'stdbool.h' to avoid possible\nmultiple definitions of 'bool'.\n\nSigned-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>\nReviewed-by: Phil Yang <phil.yang@arm.com>\n---\n drivers/net/e1000/base/e1000_osdep.h | 5 +----\n 1 file changed, 1 insertion(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/e1000/base/e1000_osdep.h b/drivers/net/e1000/base/e1000_osdep.h\nindex fd22c7e41fcf..94a49f340446 100644\n--- a/drivers/net/e1000/base/e1000_osdep.h\n+++ b/drivers/net/e1000/base/e1000_osdep.h\n@@ -9,6 +9,7 @@\n #include <stdint.h>\n #include <stdio.h>\n #include <stdarg.h>\n+#include <stdbool.h>\n #include <string.h>\n #include <rte_common.h>\n #include <rte_cycles.h>\n@@ -58,7 +59,6 @@ typedef int64_t\t\ts64;\n typedef int32_t\t\ts32;\n typedef int16_t\t\ts16;\n typedef int8_t\t\ts8;\n-typedef int\t\tbool;\n \n #define __le16\t\tu16\n #define __le32\t\tu32\n@@ -163,7 +163,4 @@ static inline uint16_t e1000_read_addr16(volatile void *addr)\n #define ETH_ADDR_LEN 6\n #endif\n \n-#define false FALSE\n-#define true TRUE\n-\n #endif /* _E1000_OSDEP_H_ */\n", "prefixes": [ "v3", "5/7" ] }{ "id": 64434, "url": "