Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/58629/?format=api
http://patchwork.dpdk.org/api/patches/58629/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20190905093239.27187-5-amo@semihalf.com/", "project": { "id": 1, "url": "http://patchwork.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-5-amo@semihalf.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190905093239.27187-5-amo@semihalf.com", "date": "2019-09-05T09:32:33", "name": "[04/10] event/octeontx2: fix maybe-uninitialized warnings for LTO build", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b086e80a445ccfa4131af90cc613d19d22b0f546", "submitter": { "id": 1112, "url": "http://patchwork.dpdk.org/api/people/1112/?format=api", "name": "Andrzej Ostruszka", "email": "amo@semihalf.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20190905093239.27187-5-amo@semihalf.com/mbox/", "series": [ { "id": 6250, "url": "http://patchwork.dpdk.org/api/series/6250/?format=api", "web_url": "http://patchwork.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://patchwork.dpdk.org/series/6250/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/58629/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/58629/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 CC5351EF27;\n\tThu, 5 Sep 2019 11:32:53 +0200 (CEST)", "from mail-lf1-f65.google.com (mail-lf1-f65.google.com\n\t[209.85.167.65]) by dpdk.org (Postfix) with ESMTP id 148D11EDD0\n\tfor <dev@dpdk.org>; Thu, 5 Sep 2019 11:32:44 +0200 (CEST)", "by mail-lf1-f65.google.com with SMTP id u29so1407090lfk.7\n\tfor <dev@dpdk.org>; Thu, 05 Sep 2019 02:32:44 -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:43 -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=suYL+g61S91+ez+WRDK5RAJrUEu0wqZlASipBrdcn/o=;\n\tb=Zp41z/O8N93QsO2iipWG+FzVAejLIAS3evu0C6kGzhlb2Bp9Gr46j7e1zf36aCNmJL\n\ts2SYXVCSJZPYMifMZAazkM3qIJjwI8JcWL25EjcKBJV4uHDFvjL1buUdr7TGjl3h3xjK\n\ty0JdA0/az6G6MncFEv8xn0nM/vNfrHtvtcFr/Z4PkR22TXny5A6jIbb8wCjmkZpz8ybl\n\tFc4dDftm+mjv1JSW1w9mVGv2xddY4uXqT2QtizHrYl45dKsCNRVxaYn303o1bM6nI88Q\n\ttXdnMt/KMUyqiQNpOuILtLEy1YrCgmB6wc6E4sC8iHL/RvC+m4sCWOML8l4oafhtcRpA\n\tDPpA==", "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=suYL+g61S91+ez+WRDK5RAJrUEu0wqZlASipBrdcn/o=;\n\tb=i9EuF5DrKJWdRnhoa2/oQKGCTXt5voov18pZlo9nySjpQwhwUMcF3FU+NgGfFuGY8T\n\t0pLd03h6uUjctjD2jenOOSDlYYeTzmY5wxjA4jly9ZSr8Xwbry7SJLrPF372aikvrB7p\n\tKL5cP4nGZiETXbZHz8KOKcji5qU/x9qGKP+iQGJU75sYK1tIOwjp+kGwC9syKqRod52i\n\tmn4EjQGqs4J9iIzEOMORUZIY7Q0nxXNtjHX8XRR+2fOJaa3lK9LlbvfWx9BU0dJCrWe2\n\tz1m8YGR7uObayPP4FHwkIxGg+8es3wsvzDCMe10z9thQa7FokBvIQm+qVC6FGcL5nuGZ\n\t1BnQ==", "X-Gm-Message-State": "APjAAAVC6qIPOIF3udDnAjJvTolS686h9DI75tNZ0+9obzWUl4cnWdYi\n\tyVCH5YqEYXVCnIWdzDPbZvnU8LC74oZ9Nw==", "X-Google-Smtp-Source": "APXvYqyjaTiCCT5BuHpiTo9EnnJwA2j3Rl3V3azCWaq/GY7k6WNOs9XthayJLKVUf2g/oOrmjCnrBg==", "X-Received": "by 2002:a19:c002:: with SMTP id q2mr1740436lff.62.1567675963577; \n\tThu, 05 Sep 2019 02:32:43 -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:33 +0200", "Message-Id": "<20190905093239.27187-5-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 04/10] event/octeontx2: 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 drivers/event/octeontx2/otx2_tim_worker.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/event/octeontx2/otx2_tim_worker.h b/drivers/event/octeontx2/otx2_tim_worker.h\nindex b193e2cab..50db6543c 100644\n--- a/drivers/event/octeontx2/otx2_tim_worker.h\n+++ b/drivers/event/octeontx2/otx2_tim_worker.h\n@@ -337,7 +337,7 @@ tim_add_entry_brst(struct otx2_tim_ring * const tim_ring,\n \t\t const struct otx2_tim_ent *ents,\n \t\t const uint16_t nb_timers, const uint8_t flags)\n {\n-\tstruct otx2_tim_ent *chunk;\n+\tstruct otx2_tim_ent *chunk = NULL;\n \tstruct otx2_tim_bkt *bkt;\n \tuint16_t chunk_remainder;\n \tuint16_t index = 0;\n", "prefixes": [ "04/10" ] }{ "id": 58629, "url": "