Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/58628/?format=api
http://patches.dpdk.org/api/patches/58628/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190905093239.27187-4-amo@semihalf.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": "<20190905093239.27187-4-amo@semihalf.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190905093239.27187-4-amo@semihalf.com", "date": "2019-09-05T09:32:32", "name": "[03/10] app/eventdev: fix maybe-uninitialized warnings for LTO build", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "31b4f27775f36dfefd7f061a55ea50ae8e57a4fa", "submitter": { "id": 1112, "url": "http://patches.dpdk.org/api/people/1112/?format=api", "name": "Andrzej Ostruszka", "email": "amo@semihalf.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/20190905093239.27187-4-amo@semihalf.com/mbox/", "series": [ { "id": 6250, "url": "http://patches.dpdk.org/api/series/6250/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6250", "date": "2019-09-05T09:32:29", "name": "Add an option to use LTO for DPDK build", "version": 1, "mbox": "http://patches.dpdk.org/series/6250/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/58628/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/58628/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 E96731EE5B;\n\tThu, 5 Sep 2019 11:32:51 +0200 (CEST)", "from mail-lj1-f173.google.com (mail-lj1-f173.google.com\n\t[209.85.208.173]) by dpdk.org (Postfix) with ESMTP id 47BDA1EDA9\n\tfor <dev@dpdk.org>; Thu, 5 Sep 2019 11:32:43 +0200 (CEST)", "by mail-lj1-f173.google.com with SMTP id d5so1684507lja.10\n\tfor <dev@dpdk.org>; Thu, 05 Sep 2019 02:32:43 -0700 (PDT)", "from localhost.localdomain (31-172-191-173.noc.fibertech.net.pl.\n\t[31.172.191.173]) by smtp.googlemail.com with ESMTPSA id\n\tb25sm363060lfa.90.2019.09.05.02.32.42\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 05 Sep 2019 02:32:42 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=Z5DzTIxEt5+ANVdQni1kRcJ+xYX6pxDF0HUGiUlFpcM=;\n\tb=cZafQPBacW/9Brsq0NFycuNDaf9tnY01Jl2yRE/+pHVETvcje7SWfMDzzwyAFOVafL\n\tkowzg1vWoIb+i/u5X1fNSW3Lfk1wm466VXH15YgGpOJagbhKUreoH7wVvJ39I1SO9mWR\n\t57+ZPbtDmZI6/t4mXjw7raxDMOATt9xkwO/ozYIhrXdJzr4EoVcBycMUh1wNJepxopC7\n\tcllzstL5ld04chjs21rjPQ1gyp90Uo1JboB9aJNpmx5kDXoXa+jHFcqcD+zvYDqd1Gwg\n\tXIz28Q7+zVhFEvBSMp5tlWH4rXh2Y7zY+5swZ/7SsZ7MfU7eOhUd7K6wRdJbRr1IFYN+\n\tJ0+g==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=Z5DzTIxEt5+ANVdQni1kRcJ+xYX6pxDF0HUGiUlFpcM=;\n\tb=GggMiGHJ6MgPpdr//3RMZcMLcUfXS2hol/Yz/+RkhRCcD24D9fkQ8Gj/ZFYJtVJdmZ\n\tkO1r3jg/0WvnmF9p16H+Tn5MZQr6FA1kEpdNG4F8okdai6KWCHkPeHD4uRaen03AKyC8\n\tsoxxZgH+s3a8DSvgj1gv6sPmuxYSm0tNl6pmbNB6jSjn2AC9qjb9nNsmfFMhFwFxiqTy\n\tXCjQFCPVhNjFuUJNO4pdOxqq5pEunNMsQ4EQqxAcPT5PHAx9B0wR12AfRBGH6/H1J84a\n\tdIM3k5IyVt3IuUXy/Qpgg0dpFH/Of0kuo8fTU/bt2b0tiFR+aVaOxwOkaNPlRQgsn/to\n\tozvA==", "X-Gm-Message-State": "APjAAAVePYoLBTbUSlbwj2NR0H5o89D5GO/7X6pi5vsT43/ocy9hEK12\n\th5eR1Q6+MCwqeiDH3nd1Ym6PAxl+g8oMvQ==", "X-Google-Smtp-Source": "APXvYqzTfe9/nYYFmG3V24G4fryoHEzTouvrpUJBHjk8/o3GKouOqM6RpmttuunsP9bczLMoc8nfgQ==", "X-Received": "by 2002:a2e:5418:: with SMTP id\n\ti24mr1401234ljb.126.1567675962839; \n\tThu, 05 Sep 2019 02:32:42 -0700 (PDT)", "From": "Andrzej Ostruszka <amo@semihalf.com>", "To": "dev@dpdk.org", "Cc": "Andrzej Ostruszka <aostruszka@marvell.com>", "Date": "Thu, 5 Sep 2019 11:32:32 +0200", "Message-Id": "<20190905093239.27187-4-amo@semihalf.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20190905093239.27187-1-amo@semihalf.com>", "References": "<20190905093239.27187-1-amo@semihalf.com>", "Subject": "[dpdk-dev] [PATCH 03/10] app/eventdev: fix maybe-uninitialized\n\twarnings for LTO build", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "During LTO build compiler reports some 'false positive' warnings about\nvariables being possibly used uninitialized. This patch silences these\nwarnings.\n\nSigned-off-by: Andrzej Ostruszka <aostruszka@marvell.com>\n---\n app/test-eventdev/test_perf_common.c | 2 +-\n app/test-eventdev/test_pipeline_common.c | 4 ++--\n 2 files changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c\nindex aa925a7ef..a974685cb 100644\n--- a/app/test-eventdev/test_perf_common.c\n+++ b/app/test-eventdev/test_perf_common.c\n@@ -439,7 +439,7 @@ perf_event_timer_adapter_setup(struct test_perf *t)\n \n \t\tif (!(adapter_info.caps &\n \t\t\t\tRTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT)) {\n-\t\t\tuint32_t service_id;\n+\t\t\tuint32_t service_id = -1U;\n \n \t\t\trte_event_timer_adapter_service_id_get(wl,\n \t\t\t\t\t&service_id);\ndiff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c\nindex 16c49b860..813d0cf44 100644\n--- a/app/test-eventdev/test_pipeline_common.c\n+++ b/app/test-eventdev/test_pipeline_common.c\n@@ -306,7 +306,7 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,\n \t\t}\n \n \t\tif (!(cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT)) {\n-\t\t\tuint32_t service_id;\n+\t\t\tuint32_t service_id = -1U;\n \n \t\t\trte_event_eth_rx_adapter_service_id_get(prod,\n \t\t\t\t\t&service_id);\n@@ -358,7 +358,7 @@ pipeline_event_tx_adapter_setup(struct evt_options *opt,\n \t\t}\n \n \t\tif (!(cap & RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT)) {\n-\t\t\tuint32_t service_id;\n+\t\t\tuint32_t service_id = -1U;\n \n \t\t\trte_event_eth_tx_adapter_service_id_get(consm,\n \t\t\t\t\t&service_id);\n", "prefixes": [ "03/10" ] }{ "id": 58628, "url": "